Example #1
0
 public void Run()
 {
     while (ProgramCounter >= 0 && ProgramCounter < Instructions.Count)
     {
         IInstruction instruction = Instructions[ProgramCounter];
         ProgramCounter++;
         instruction.Exec(this);
     }
 }