// mov 32bit immediate and sign-extend into 64bit-register
mov 32bit immediate and sign-extend into 64bit-register
mov 32bit immediate and sign - extend into 64bit - register
pub fn emit_movq_imm_reg(buf: &mut MacroAssembler, imm: i32, reg: Reg) {
    emit_rex(buf, 1, 0, 0, reg.msb());
    emit_op(buf, 0xc7);
    emit_modrm(buf, 0b11, 0, reg.and7());
    emit_u32(buf, imm as u32);
}
pub fn emit_movq_imm_reg ( buf : & mut MacroAssembler , imm : i32 , reg : Reg ) { emit_rex ( buf , 1 , 0 , 0 , reg . msb ( ) ) ; emit_op ( buf , 0xc7 ) ; emit_modrm ( buf , 0b11 , 0 , reg . and7 ( ) ) ; emit_u32 ( buf , imm as u32 ) ; }
mov 32bit immediate and sign-extend into 64bit-register
mov 32bit immediate and sign - extend into 64bit - register
buf
&mut MacroAssembler
imm
i32
reg
Reg