Skip to main content

encode_reg32_imm32

Function encode_reg32_imm32 

Source
pub const unsafe fn encode_reg32_imm32(
    reg32: GPR,
    imm32: Immediate32,
) -> EncodedX86_64Instruction
Expand description

Move 32-bit immediate to 32-bit register.

§Safety

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