示例#1
0
        public void ExecuteInstructionCount(int instructionCount)
        {
            InstructionCountCondition instructionCountCondition = new InstructionCountCondition(instructionCount);
            int exitConditionIndex = cpu.AddExitCondition(instructionCountCondition);

            clock.TickUntilExitCondition();
            cpu.RemoveExitCondition(exitConditionIndex);
        }
 // Execution Interface
 public void ExecuteInstructionCount(int instructionCount)
 {
     InstructionCountCondition instructionCountCondition = new InstructionCountCondition(instructionCount);
     int exitConditionIndex = CPU.AddExitCondition(instructionCountCondition);
     Clock.TickUntilExitCondition();
     CPU.RemoveExitCondition(exitConditionIndex);
 }