Module zksync_vm2::addressing_modes 
source · Expand description
Addressing modes supported by EraVM.
Structs§
- Absolute addressing into stack.
- Same asRelativeStack, but moves the stack pointer on access (decreases it when reading data; increases when writing data).
- Arguments provided to an instruction in an EraVM bytecode.
- Absolute addressing into the code page of the currently executing program.
- Immediate value passed as a first instruction arg.
- Immediate value passed as a second instruction arg.
- Error convertingAnySourcetoRegisterOrImmediate.
- Representation of one of 16 VM registers.
- Register passed as a first instruction argument.
- Register passed as a second instruction argument.
- Combination of a register and an immediate value wrapped byAbsoluteStack,RelativeStack,AdvanceStackPointerandCodePageaddressing modes.
- Relative addressing into stack (relative to the VM stack pointer).
Enums§
- All supported addressing modes for the first destination argument.
- All supported addressing modes for the first source argument.
- Register or immediate addressing modes required by some VM instructions.