Skip to main content

encode_rm64_imm32

Function encode_rm64_imm32 

Source
pub const unsafe fn encode_rm64_imm32(
    rm64: GPROrMemory,
    imm32: Immediate32,
) -> EncodedX86_64Instruction
Expand description

Move 32-bit immediate to 64-bit register or memory, sign extended.

§Safety

It is the caller’s responsibility to ensure that the operands are valid. Otherwise the behavior is undefined.