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