Introduction

This assignment is a small exercise in using the MIPS assembly language. Your task is to write a subroutine that computes the sum of a vector of integers. I am providing a program which will read numbers from the keyboard, construct the vector of integers in memory, and call your subroutine. When your subroutine returns, my program will verify that your subroutine computed the sum correctly.

You will be using the SPIM simulator for the MIPS process for this assignment. It’s on the CD that came with your textbook, or you can download a copy from the SPIM Website at University of Wisconsin-Madison.

Directions for completing the assignment and getting my code are at the SPIM Assignment page.