Skip to main content

Module stack

Module stack 

Source
Expand description

Stack operations (PUSH, POP, DUP, SWAP, etc.).

Functionsยง

dup
Implements the DUP1-DUP16 instructions.
dupn
Implements the DUPN instruction.
exchange
Implements the EXCHANGE instruction.
pop
Implements the POP instruction.
push
Implements the PUSH1-PUSH32 instructions.
push0
EIP-3855: PUSH0 instruction
swap
Implements the SWAP1-SWAP16 instructions.
swapn
Implements the SWAPN instruction.