Function swap
pub fn swap<const N: usize, WIRE, H>(context: InstructionContext<'_, H, WIRE>)where
WIRE: InterpreterTypes,
H: ?Sized,
Expand description
Implements the SWAP1-SWAP16 instructions.
Swaps the top stack item with the Nth stack item.