Skip to main content

pc

pub fn pc<IT, H>(
    context: InstructionContext<'_, H, IT>,
) -> Result<(), InstructionResult>
where IT: InterpreterTypes, H: ?Sized,
Available on crate feature evm only.
Expand description

Implements the PC instruction.

Pushes the current program counter onto the stack.