Skip to main content

addmod

Function addmod 

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

Implements the ADDMOD instruction.

Pops three values from stack and pushes (a + b) % n.