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