Skip to main content

encode_imm16

Function encode_imm16 

Source
pub const unsafe fn encode_imm16(imm16: Immediate16) -> EncodedX86_64Instruction
Expand description

Push 16-bit immediate onto the stack (sign-extended).

§Safety

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