Question: MIPS 1(b): #write and compile a program that will compute average of list of test scores and return in Sal, with the Wremainder in $a2.

MIPS 1(b): #write and compile a program that will compute average of list of test scores and return in Sal, with the Wremainder in $a2. The program should also print the average and remainder in the I/O window: e.g. The Waverage is' and 'with the remainder of # The list consists of numbers from through 100 and is terminated with -1. # However, values > 100 and should be discarded. # sum = count = 0; while ("score != -1 && ("score >= 0 && "score 100 M This is the data (scores) section data M scores:.word 145, 101, 97, 92, 84, 100, 89, 90, 66, 78, 94, -124, 82, 79,-4, 55,-1 M avgstr: asciiz "The average is remstr: asciiz" with a remainder of Add meaningful comments (documentation to your code and submit it as
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
