multu

Operands

$reg, $reg

Multiply unsigned : Multiplies $t1 by $t2 treating both as unsigned 32-bit integers. The 64-bit product is split: upper 32 bits go into HI, lower 32 bits go into LO. Use 'mfhi'/'mflo' to retrieve the results.

Variants

  • Multiply unsigned : Multiplies $t1 by $t2 treating both as unsigned 32-bit integers. The 64-bit product is split: upper 32 bits go into HI, lower 32 bits go into LO. Use 'mfhi'/'mflo' to retrieve the results. multu $t1,$t2
# Multiply 6 by 7. Inspect HI:LO: 42 (HI=0, LO=42).
li $t0, 6
li $t1, 7
multu $t0, $t1
mflo $t2
mfhi $t3