Function encode_add_rm64_imm32

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

Add 32-bit immediate to 64-bit register or memory (sign-extended to 64 bits).

ยงSafety

The caller has to ensure that the operands are valid, in particular the function does not check register sizes.