Function encode_mov_reg16_imm16

Source
pub const unsafe fn encode_mov_reg16_imm16(
    reg16: GPR,
    imm16: Immediate16,
) -> EncodedX86_64Instruction
Expand description

Move 16-bit immediate to 16-bit register.

ยงSafety

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