示例#1
0
文件: Cog.cs 项目: mbaeten/gear-emu
        /// @todo Document method Gear.EmulationCore.Cog.StepInstruction().
        public void StepInstruction()
        {
            int i = 0x2000;    // Maximum of 8k clocks (covers load instruction)

            do
            {
                Hub.Step();
            }while ((State != CogRunState.EXEC_INTERPRETER) &&
                    (State != CogRunState.STATE_EXECUTE && --i > 0));
        }