PARTICIPATION ACTIVITY 3.4.8: MIPS multiply and divide instructions. Goal:
$s6\times $s7
(signed mulitplication)
q,
$56,$s7
Correct
◻
Show answer Goal:
$s(6)/($)s7
(unsigned division)
◻
$56,$s7
◻
Show answer Goal: Place the remainder resulting from the divide operation into register $a3. div
$a0,$a1
q,
q,
mult The mult instruction computes
$s6\times $s7
, and puts the 64 -bit signed product in the
Hi
and Lo registers. Correct divu The divu instruction computes $s6 / $s7, and puts the quotient in the Lo register and the remainder in the
Hi
register. Incorrect mfhi? Show answer