Crate zkevm_assembly

Source
Expand description

The zkEVM common library.

Re-exports§

pub use zkevm_opcode_defs;

Structs§

AddInstruction
The arithmetic addition instruction.
Assembly
The assembly entity.
BitwiseInstruction
ContextInstruction
Read value from execution context.
DivInstruction
The arithmetic division or remainder instruction.
ExternalCallInstruction
The control flow jump instruction.
ISAVersion
JumpInstruction
The control flow jump instruction.
LocalCallInstruction
The control flow jump instruction.
MulInstruction
The arithmetic multiplication instruction.
NopInstruction
The NOP instruction. Can also be used for stack adjustment
ReturnInstruction
The control flow jump instruction.
ShiftInstruction
SubInstruction
The arithmetic subtraction instruction.

Enums§

AssemblyParseError
BinaryParseError
FullOperand
Instruction
The instruction.
InstructionReadError
RegisterOperand
RunningVmEncodingMode

Constants§

DEFAULT_ISA_VERSION

Statics§

ENCODING_MODE
ISA_VERSION_U64

Functions§

get_encoding_mode
get_isa_version
set_encoding_mode
set_isa_version