Question: You have been asked to write a MIPS code that performs the multiplication 180*120. Partial code snippet of the multiplication MIPS code is given below:

You have been asked to write a MIPS code that performs the multiplication 180*120. Partial code snippet of the multiplication MIPS code is given below: Partial Code snippet : li $se, e Loop1: bgt st4, Ste, Exiti add $se, $se, $ti addi $t4, St4, 1 j Loop1 Exiti: li $v0, 10 syscall Choose the option or options which denote the correct initialization values for the registers used above, that would achieve this multiplication. U $t4 initialized to 0 outside the loop, $to initialized to 120 outside the loop, $t1 initialized to 180 outside the loop $t4 initialized to 1 outside the loop, $to initialized to 120 outside the loop, $t1 initialized to 180 outside the loop $14 initialized to outside the loop, $to initialized to 180 outside the loop, $t1 initialized to 120 outside the loop $t4 initialized to 1 inside the loop, $to initialized to 180 outside the loop, $t1 initialized to 120 inside the loop $t4 initialized to 1 outside the loop, $to initialized to 180 outside the loop, $t1 initialized to 120 outside the loop $t4 initialized to 0 inside the loop, $t0 initialized to 180 outside the loop, $t1 initialized to 120 inside the loop
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
