midterm
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| midterm [2009/07/10 20:22] – created lan | midterm [2009/07/24 15:55] (current) – lan | ||
|---|---|---|---|
| Line 18: | Line 18: | ||
| * Translate high-level programs (e.g., Java) to assembly programs. | * Translate high-level programs (e.g., Java) to assembly programs. | ||
| * Convert assembly instructions to machine language and back. | * Convert assembly instructions to machine language and back. | ||
| - | * Understand the fetch-execute cycle concept, performance issues such latencies, CPI, clock rates, bus rate, etc. | + | * Understand the fetch-execute cycle concept, performance issues such latencies, CPI, clock rates, bus rates, etc. |
| * 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.1247257377.txt.gz · Last modified: by lan
