Пример #1
0
        public void AddInstructionLine(UvmOpCodeEnums opCode, string line, Instruction ilInstruction)
        {
            var inst = UvmInstruction.Create(opCode, ilInstruction);

            inst.AsmLine = line;
            AddInstruction(inst);
        }
Пример #2
0
        public UvmInstruction MakeInstructionLine(UvmOpCodeEnums opCode, string line, Instruction ilInstruction)
        {
            var inst = UvmInstruction.Create(opCode, ilInstruction);

            inst.AsmLine = line;
            return(inst);
        }
Пример #3
0
 public static UvmInstruction Create(UvmOpCodeEnums opCodeEnum, Instruction ilInstruction)
 {
     return(new UvmInstruction(new UvmOpCode()
     {
         OpCodeValue = opCodeEnum
     }, ilInstruction));
 }