Skip to main content

encode_rm16_imm8

Function encode_rm16_imm8 

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

Compare 8-bit immediate (sign-extended) with 16-bit register or memory.

§Safety

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