|
|
|
CS-30 Laboratory Turn in Lab Reports in class. Also, Email programs as attachments to cs30 @ whizbangscholar.com Workarounds1. In some programs using the label newlin may lead to unexpected behavior. The symptoms are printing graphic characters instead of the expected newline. Problem may also be in the exact characters used for the double quote in a data statement. In isolation, the problem does not occur (Program 3). Changing the label from newlin appears to fix the problem.
Due dates are on Calendar Page
Program 0The first assignment is to get familiar with the mechanics of using the SPIM programming system. SPIM is installed in the computers in the Instructional Computers Lab. The SPIM home site is: http://www.cs.wisc.edu/~larus/spim.html You can get a copy to run under Windows from the above site. Pick the executable that runs under Windows (It is in a zip file). Link to the Companion Site contains additional information about the CD, links to software updates and solutions to the "For More Practice" exercises. It also contains links to the course pages of other schools using the book. Appendix
A of the book is on the enclosed CD. It contains a description of assembly language
and has the best description of the SPIM assembly language around. If you
don't have the CD and are desperate, Google cod-appa.pdf and you will likely
find a copy from the second edition of the book. #---------------------------------------------- #
Adds numbers from 0 to N and prints result
You don’t have to understand the program, just get familiar with the steps to get it to run. Turn in a screen shot of your program running. Use the print screen key to put an image of the screen on the clipboard. Then paste it into a word document. Only a single sheet is required.
|