V22.0436 - Prof. Grishman

Assignment 4 - MIPS Assembly Language

Write a MIPS program, using a loop, which computes the sum of five consecutive (32-bit) words in memory and displays the result on the console.  Declare and initialize this array as part of your program.  Verify the operation of your code using the SPIM simulator.

Submit a listing of your program.

Reminder: MIPS uses byte addressing, so the addresses of successive words differ by 4, not 1.

Due March 10. Late assignments are penalized 5% after noon and 10% for each weekday late.