Skip to main content

swapn

Function swapn 

Source
pub fn swapn<IT: ITy, H: ?Sized>(
    context: InstructionContext<'_, H, IT>,
) -> InstructionExecResult
Expand description

Implements the SWAPN instruction.

Swaps the top stack item with the N+1th stack item, with N given by an immediate.