Question: (MIPS ASSIGNMENT) Put result in $10 in addition to storing in a memory location. Your program has a data section declared as follows: .data .byte
(MIPS ASSIGNMENT) Put result in $10 in addition to storing in a memory location. Your program has a data section declared as follows:
.data
.byte 12
.byte 97
.byte 133
.byte 82
.byte 236
Write a program that adds the values up, computes the average, and stores the result in a memory location. Is the average correct? Hint: there are two easily-made errors in this program.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
