예제 #1
0
파일: Cpu32.cs 프로젝트: sovr610/PatoSim
        public void ExecuteRvc(RvcPayload payload)
        {
            var instruction        = composer.ComposeInstruction(payload);
            var instructionPayload = composer.Compose(instruction, payload);

            Execute(instruction, instructionPayload);
        }
예제 #2
0
        protected override void ExecuteRvcOpcode(RvcPayload payload)
        {
            Console.WriteLine("Rvc: OpCode = {0:X}, F3 = {1:X}, Type = {2}", payload.Op, payload.Funct3, payload.Type);

            var instruction        = composer.ComposeInstruction(payload);
            var instructionPayload = composer.Compose(instruction, payload);

            ExecuteOpcode(instruction, instructionPayload);
        }