

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


st
Compare the three implementations in terms of time and space.
You are provided with a sample SPIM program (section webpage). Insert data directives as defined in class, at the location identified in the program. Load and run the program (just open the file and look for errors in the SPIM window). Run the program by executing Simulator ร Go (F5). In the subsequent dialog box, make sure the program start address is 0x00400000. The program will print a header to the console window. When you are finished, the header should look like this:
Later you will understand the specific instructions in the program that produces this header, but now for now assume the program is correct and concentrate on using data directives to make sure the header appears exactly as above, and as described the following.
Store in sequence the following.
If you create the header correctly, the program will print out the header as shown above.
Now answer the following.