midterm
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| midterm [2009/07/10 20:27] – lan | midterm [2009/07/24 15:55] (current) – lan | ||
|---|---|---|---|
| Line 21: | Line 21: | ||
| * Understand MIPS design issues such as why is there no '' | * Understand MIPS design issues such as why is there no '' | ||
| * Understand memory usage issues such as why don't we store attributes of objects in '' | * Understand memory usage issues such as why don't we store attributes of objects in '' | ||
| - | * Given a MIPS program, you should be able to figure out the output(s) | + | * Given a MIPS program, you should be able to figure out the output(s) and values of all the registers used in the program (assuming a 32-bit machine and all integers are signed). |
| * You should be able to write a sequence of MIPS instructions or a complete MIPS program in order to accomplish a required task. (You are not allowed to use pseudo instructions). | * You should be able to write a sequence of MIPS instructions or a complete MIPS program in order to accomplish a required task. (You are not allowed to use pseudo instructions). | ||
| - | * You should know all the MIPS instructions presented in the MIPS green card, what they do and how to use them. | + | * You should know all the MIPS instructions presented in the {{mipsgreencard.pdf|MIPS Green Card}}, what they do and how to use them. |
| * You should also prepare yourselves by reading chapters 1, 2, and 3 in the textbook. | * You should also prepare yourselves by reading chapters 1, 2, and 3 in the textbook. | ||
| Line 29: | Line 29: | ||
| **Sample Midterm and Answers** | **Sample Midterm and Answers** | ||
| - | You can try the this [[http:// | + | You can try this [[http:// |
| + | |||
| + | ---- | ||
| + | **Midterm Solutions** | ||
| + | |||
| + | [[http:// | ||
midterm.1247257627.txt.gz · Last modified: by lan
