This is an old revision of the document!
Labs start the week of Monday Sept. 21, 2015
LAB 1
Week of Monday 21
LAB 2
Week of Monday 21
lab 2 Introduction to Assembly
There is an excellent spim tutorial at the University of Washington SPIM tutorial
LAB 3
Week of Monday Oct 5
lab 3 Translating Utility Classes
The lab demo will be limited to C1 to C6 only, C7 and C8 could be demoed the following lab.
Project
Week of Monday Oct 5
project details here
here is one example of an input file input_project.txt and here is some explanation explanation.pdf
The simulator output is the contents of the 32 register. The format is four values per line. The register number is between 2 square brackets, followed by the actual value [0]0 [1]12 [2]0 [3]24
[4]12 and so on
The output could be in decimal or hex, if hex include 0x before the number. The output should be formatted to align the registers vertically, [5] should be right under [1]
The project is due midnight Nov. 2
===== Submission
Submit the file as Project.java (or Project.c)
The simulator should read the name of the input file as a command line parameter
Here is an example input that file was generated from the following assembly code
The output for the previous test case is