GNIDA.mediana.create_reg_operand C# (CSharp) Method

create_reg_operand() static private method

static private create_reg_operand ( INSTRUCTION &instr, int op_index, REG_TYPE type, byte code, OP_SIZE size ) : void
instr INSTRUCTION
op_index int
type REG_TYPE
code byte
size OP_SIZE
return void
        static void create_reg_operand(ref INSTRUCTION instr, int op_index, REG_TYPE type, byte code, OP_SIZE size)
        {
            instr.ops[op_index].flags |= (byte)OP_TYPE.OPERAND_TYPE_REG;
            instr.ops[op_index].value.reg.type = type;
            instr.ops[op_index].value.reg.code = code;
            instr.ops[op_index].size = (ushort)size;
        }