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