public void AddInstruction(Instruction.Type instructionType)
 {
     if (Instructions.Count > 0 && instructionType == Instructions.Last().InstructionType)
     {
         Instructions.Last().Repeat++;
     }
     else
     {
         Instructions.Add(new Instruction(instructionType));
     }
 }
Ejemplo n.º 2
0
 public void AddInstruction(Instruction.Type instructionType)
 {
     Instructions.Add(new Instruction(instructionType));
 }