Module op_stack

Source

Structs§

NumberOfWordsIter
An iterator over the variants of NumberOfWords
OpStack
The operational stack of Triton VM. It always contains at least OpStackElement::COUNT elements. Initially, the bottom-most Digest::LEN elements equal the digest of the program being executed. The remaining elements are initially 0.
OpStackElementIter
An iterator over the variants of OpStackElement

Enums§

NumberOfWords
Represents the argument, i.e., the n, for instructions like pop n or read_io n.
NumberOfWordsError
OpStackElement
Represents the OpStack registers directly accessible by Triton VM.
OpStackElementError
OpStackError
UnderflowIO
Indicates changes to the op-stack underflow memory.

Constants§

NUM_OP_STACK_REGISTERS
The number of registers dedicated to the top of the operational stack.