Question: Write the code of this exercise in WINMIPS 6 4 assembler. To see the usefulness of indexed addressing, consider a simple example involving a list
Write the code of this exercise in WINMIPS assembler.
To see the usefulness of indexed addressing, consider a simple example involving a list of test scores for students
taking a given course. Assume that the list of scores, beginning at location LIST. A word comprises a record that
stores the relevant information for each student. Each record consists of the students identification number ID
followed by the scores the student earned on tests. There are n students in the class, and the value n is stored
in location N immediately in front of the list. The addresses given for the student IDs and test scores assume that the
memory is byte addressable and that the word length is bits. Each row contains the entries for one student, and
the columns give the IDs and test scores. Suppose that we wish to compute the sum of all scores obtained on
tests, and store these four sums in memory locations SUM SUM SUM
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
