## ALP Programming Guide and Reference

[prev][next][parent][TOC]

### Operation

    temp  dividend / divisor;
    IF temp does not fit in quotient
    THEN Interrupt 0;
    ELSE
       quotient  temp;
       remainder  dividend MOD (r/m);
    FI;

Note: Divisions are unsigned. The divisor is given by the r/m operand. The dividend, quotient, and remainder use implicit registers. Refer to the table under "Description".