### A good answer might be:

    div d,s,t  ==  div  s,t
                   mflo d

# div and divu Pseudoinstruction

The SPIM extended assembler includes these instructions:

    div  d,s,t # divide $s by $t. Put the
               # quotient in $d. Operands are
               # two's complement.
               # (pseudoinstruction)

and

    divu d,s,t # divide $s by $t. Put the
               # quotient in $d. Operands are
               # unsigned.
               # (pseudoinstruction)

Neither instruction checks for overflow. Other pseudoinstructions (not discussed here) do check for overflow.

### QUESTION 8:

Is the remainder of an integer division sometimes useful?