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