Skip to main content

encode_rm16_imm16

Function encode_rm16_imm16 

Source
pub const unsafe fn encode_rm16_imm16(
    rm16: GPROrMemory,
    imm16: Immediate16,
) -> EncodedX86_64Instruction
Expand description

Add 16-bit immediate to 16-bit register or memory.

§Safety

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