Skip to main content

decode_operands

Function decode_operands 

Source
pub fn decode_operands(format: OpFormat, payload: &[u8], out: &mut Vec<Operand>)
Expand description

Decode one instruction’s operands from its payload bytes.

Jump targets stay relative here; Instruction::jump_target resolves them against the instruction’s position, which is what the reference prints.