Question: Write a function that receives 3 integer words in registers $a0, $al, & $a2, and returns them in ordered form with the minimum value in
Write a function that receives 3 integer words in registers $a0, $al, & $a2, and returns them in ordered form with the minimum value in $a0 and the maximum value in $a2. Hint: Function Order($a0,$a 1,5a2); If (Sal > $al) exchange Sa0 and $al; if ($al > $a2) exchange Sal and Sa2 else return; If (Sa0 > $al) exchange Sa0 and $al; return; > On mips
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
