Skip to main content

encode_reg8_imm8

Function encode_reg8_imm8 

Source
pub const unsafe fn encode_reg8_imm8(
    reg8: GPR,
    imm8: Immediate8,
) -> EncodedX86_64Instruction
Expand description

Move 8-bit immediate to 8-bit register.

§Safety

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