Exemple #1
0
            /// <summary>
            /// Executes a single microinstruction.
            /// </summary>
            /// <returns>An InstructionCompletion indicating whether this instruction calls for a task switch or not.</returns>
            public InstructionCompletion ExecuteNext()
            {
                MicroInstruction instruction = UCodeMemory.GetInstruction(_mpc, _taskType);

                /*
                 * if (_taskType == TaskType.Emulator && UCodeMemory.GetBank(_taskType) == MicrocodeBank.RAM0)
                 * {
                 *  Console.WriteLine("{0}: {1}", Conversion.ToOctal(_mpc), UCodeDisassembler.DisassembleInstruction(instruction, _taskType));
                 * }*/

                return(ExecuteInstruction(instruction));
            }
Exemple #2
0
            /// <summary>
            /// Executes a single microinstruction.
            /// </summary>
            /// <returns>An InstructionCompletion indicating whether this instruction calls for a task switch or not.</returns>
            public InstructionCompletion ExecuteNext()
            {
                MicroInstruction instruction = UCodeMemory.GetInstruction(_mpc, _taskType);

                return(ExecuteInstruction(instruction));
            }