div d,s,t == div s,t mflo d
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.