performance of a mips program (the following code fragment processes two single-precision floating-point arrays a and b, and modifies the array b. each array consists of 500 single-precision floats. the addresses of a and b are stored in $a0 and $a1 respectively. note that there is an outer loop and an inner loop in the mips assembly language code.
a.Count the total number of instructions executed by the above code fragment, including those executed outside the outer loop.
b. How many cycles does it take to execute the above code?
c.What is the execution time in nanoseconds?
d.What is the average CPI for the above code?
e. What is the MIPS rate for the above code?