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