Expand description
Definition of some constants for easier readability of the steps. When they refer to single bit flagsets, only one constant is needed.
Constants
- Update ap by adding a number of positions
- Update ap by self increment
- Update by 2 in call instructions or zero behaviour for other instructions
- Destination refers to ap register
- Number of Cairo flags
- First operand refers to ap register
- Second operand refers to ap register
- Second operand is double indexing
- Second operand refers to fp register
- Second operand is immediate value
- Operation code is an assert-equal
- Operation code is a call
- Operation code is a jump or an increment
- Operation code is a return
- Update pc by an absolute jump
- Update pc by a conditional relative jump
- Update pc by a relative jump
- Default increase of pc by adding instruction size
- Position of destination offset of 16 bits within instruction decomposition
- Bit position of the beginning of the flags in a Cairo instruction
- Position of first operand offset of 16 bits within instruction decomposition
- Position of second operand offset of 16 bits within instruction decomposition
- Result is an addition
- Result is a multiplication
- Result is a single operand