Next: Instruction diviu, Previous: Instruction mullu, Up: Arithmetic instructions [Contents][Index]

Synopsys:

divi

Push the result of the integer division 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`