MIPS how to do division code example Example: quotient mips div $a0, $a1 mfhi $t1 # remainder mflo $t2 # quotient