division using a constant in mips code example Example: quotient mips div $a0, $a1 mfhi $t1 # remainder mflo $t2 # quotient