Labs start the week of Monday Sept. 21, 2015
lab 2 Introduction to Assembly
There is an excellent spim tutorial at the University of Washington SPIM tutorial
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 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
Submit the file as Project.java (or Project.c) – submit 2021 project Project.java
The simulator should read the name of the input file as a command line parameter
Here is an example here that file was generated from the following MIPS code
The output for the previous test case is example output