Skip to main content

encode_reg16_rm16

Function encode_reg16_rm16 

Source
pub const unsafe fn encode_reg16_rm16(
    reg16: GPR,
    rm16: GPROrMemory,
) -> EncodedX86_64Instruction
Expand description

Move 16-bit register or memory to 16-bit register.

§Safety

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