Next: Instruction modiu, Previous: Instruction divlu, Up: Arithmetic instructions [Contents][Index]

Synopsys:

modi

Push the result of the modulus of the two integers at the top of the stack. If the denominator is zero, raise PVM_E_DIV_BY_ZERO.

Stack: `( INT INT -- INT INT INT )`

Exceptions: `PVM_E_DIV_BY_ZERO`