DIV
Divides two integers and rounds towards 0.
-7 divided by 2 is -3. A divisor of 0 raises DIVISION_BY_ZERO.
Parameters and results
dividendINTEGER: the number to dividedivisorINTEGER: the number to divide by, not 0- result
resultINTEGER: the quotient without remainder
Example
c0de
CALL c0de/math/DIV
PARAMETER dividend items ;
PARAMETER divisor 64 ;
RESULT result stacks