Question: please write the comment for every instruction Consider the following MIPS code. Assume that $s0 and $sl are used for inputs and initially ontain positive

please write the comment for every instruction
Consider the following MIPS code. Assume that $s0 and $sl are used for inputs and initially ontain positive integers 4 and 5, respectively add $t0, $zero, $zero zero, exit 12 add $10, $10, $sOtto: y loop addi StO, St0,-20 add $s4, $t0, $zeroSq exit A. What is the final value of the integer in Ss4? (5 points) B. How many time instruction loop got executed? (10 points) C. How many times the instruction accessed (fetched)? (5 points) D. How many times the data mm y got accessed ? (5 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
