Example #1
0
 public void ExecuteMicroStep(IProcessor processor)
 {
     using (var session = processor.CreateSession())
     {
         ExecuteMicroStep(processor, session);
     }
 }
Example #2
0
 public void ExecuteMacroStep(IProcessor processor)
 {
     using (var session = processor.CreateSession())
     {
         do
         {
             ExecuteMicroStep(processor, session);
         } while (processor.Registers[Registers.MIP].Value % 8 != 0 && !processor.IsHalted);
     }
 }