cairo_vm::vm::decoding::decoder

Function decode_instruction

Source
pub fn decode_instruction(
    encoded_instr: u64,
) -> Result<Instruction, VirtualMachineError>
Expand description

Decodes an instruction. The encoding is little endian, so flags go from bit 63 to 48.