Skip to main content

dup

Function dup 

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

Implements the DUP1-DUP16 instructions.

Duplicates the Nth stack item to the top of the stack.