Constant SWAPI

Source
pub const SWAPI: Constraint;
Expand description

§SwapIndex

0x06: SWAPI

Swap the top word on the stack with the word at the given stack depth index.

0 is the index of the element at the top of the stack.

§Stack Input

[a, b, c, d, index]

§Stack Output

[a, d, c, b]

§Panics

  • Index is out of range.