pub fn swapn<WIRE: InterpreterTypes, H: ?Sized>(
context: InstructionContext<'_, H, WIRE>,
)Expand description
Implements the SWAPN instruction.
Swaps the top stack item with the N+1th stack item, with N given by an immediate.
pub fn swapn<WIRE: InterpreterTypes, H: ?Sized>(
context: InstructionContext<'_, H, WIRE>,
)Implements the SWAPN instruction.
Swaps the top stack item with the N+1th stack item, with N given by an immediate.