div results mips assembly code example Example: quotient mips div $a0, $a1 mfhi $t1 # remainder mflo $t2 # quotient