Assignment 3

Due: 9:10am, at the start of class, Thu Sept 21st, 2006

Note: Make reasonable assumptions where necessary and clearly state them. Feel free to discuss problems with classmates, but the only written material that you may consult while writing your solutions are the textbook and lecture slides.

For this assignment, you will have to hand all solutions in electronically. Log in to one of the CADE Lab machines (for example ssh to lab1-10.eng.utah.edu or replace 10 with any number between 1-48). Place your solution in a text file called "homework3.s" (if you use a different file name, our print script may not find it -- also, do not include a space in your filename) and use the following command:
handin cs3810 hw3 homework3.s

Grading: Your program will be graded on readability and user friendliness, as well as correctness. That means LOTS OF COMMENTS!! We won't test it with data that causes overflow, or with non-numerical input data. As with other homework assignments, the TA will print out and test it on a Unix machine in the CADE Lab. You should test your program on that platform before handing it in. The two versions of SPIM (Windows and Unix) are essentially the same, but the text file is the issue. A common problem is that some Windows editors insert strange characters in files, and a Unix machine sometimes doesn't understand them.