Function encode_add_rm16_imm8

Source
pub const unsafe fn encode_add_rm16_imm8(
    rm16: GPROrMemory,
    imm8: Immediate8,
) -> EncodedX86_64Instruction
Expand description

Add 8-bit immediate (sign-extended) to 16-bit register or memory.

ยงSafety

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