Structs§
- AddAp
Instruction - Represents the InstructionBody “ap += op” for a given operand op.
- Assert
EqInstruction - Represents the InstructionBody “a = b” for two operands a, b.
- Call
Instruction - Represents a call instruction “call rel/abs target”.
- Instruction
- Represents an instruction, including the ap++ flag (inc_ap).
- JnzInstruction
- Represents the InstructionBody “jmp rel <jump_offset> if condition != 0”.
- Jump
Instruction - Represents the InstructionBody “jmp rel/abs target”.
- RetInstruction
- Represents a return instruction, “ret”.
Enums§
Functions§
- op_
size_ based_ on_ res_ operands - Returns the size of instruction based on whether the res operand includes an immediate or not.