Question: Task# 3 : Trace the following program by hand to determine the values of registers $f 0 thru $f 9 . Notice that array 1
Task#: Trace the following program by hand to determine the values of registers $f thru $f Notice that array and array have the same elements, but in a different order. Comment on the sums of array and array elements computed in registers $f and $f respectively. Now use the MARS tool to trace the execution of the program and verify your results. What conclusion can be made from this exercise?
data
array: float ee array: float eetext
la $t array
lwc $f$t
lwc $f$t
lwc $f$t
add.s $f $f $f
add.s $f $f $f
la $t array
lwc $f$t
lwc $f$t
lwc $f$t
add.s $f $f $f
add.s $f $f $f
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
