Skip to main content

decode_args

Function decode_args 

Source
pub fn decode_args(
    code: &[u8],
    pc: usize,
    skip: usize,
    category: InstructionCategory,
) -> Args
Expand description

Decode arguments based on instruction category.

pc is the instruction counter (ı), skip is the skip length (ℓ), code is the instruction data with implicit zero extension.