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,$a1, Sa2); If (Sa0 > Sal) exchange Sa0 and $al; if (Sal > $a2) exchange Sal and $a2 else return; If ($a0 > $al) exchange Sa0 and $al; return
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
