public void AddInstructionLine(UvmOpCodeEnums opCode, string line, Instruction ilInstruction) { var inst = UvmInstruction.Create(opCode, ilInstruction); inst.AsmLine = line; AddInstruction(inst); }
public UvmInstruction MakeInstructionLine(UvmOpCodeEnums opCode, string line, Instruction ilInstruction) { var inst = UvmInstruction.Create(opCode, ilInstruction); inst.AsmLine = line; return(inst); }
public static UvmInstruction Create(UvmOpCodeEnums opCodeEnum, Instruction ilInstruction) { return(new UvmInstruction(new UvmOpCode() { OpCodeValue = opCodeEnum }, ilInstruction)); }