GNIDA.Myx86Instruction.Create C# (CSharp) Method

Create() public static method

public static Create ( x86OpCode opcode, Opnd operand1, Opnd operand2 ) : Myx86Instruction
opcode TUP.AsmResolver.ASM.x86OpCode
operand1 Opnd
operand2 Opnd
return Myx86Instruction
        public static Myx86Instruction Create(x86OpCode opcode, Opnd operand1, Opnd operand2)
        {
            Myx86Instruction newInstruction = new Myx86Instruction();
            newInstruction.OpCode = opcode;
            newInstruction.operand1 = operand1;
            newInstruction.operand2 = operand2;
            newInstruction.GenerateBytes();
            return newInstruction;
        }