The exam will focus mainly on topics that were heavily emphasized in lectures and labs. We are not going to make a lot of marks depend on topics that were given very little coverage in lectures and labs.
The exam will cover all material up to and including the lectures of Wednesday, April 13, with the following exceptions:
The examination is on the entire course. There will be an emphasis on post-midterm material, but there will also be a significant number of problems concentrating on pre-midterm material.
There may be a small number of marks associated with material in the assigned reading that was not covered in lectures. Let me repeat that the number of marks related to this material will be either zero or very small.
You will write all of your answers on the question paper, in spaces provided for answers.
add, addi, addu, addiu, sub, subu, lw, sw, lb, lbu, sb, beq, bne, j, jal, jr, slt, slti, sltu, sltiu, la, li, and, andi, or, ori, nor, sll, srl, lui, mult, multu, div, divu, mfhi, mflo, add.s, add.d, sub.s, sub.d, mul.s, mul.d, div.s, div.d, mtc1, mfc1, mov.s, mov.d, l.s, l.d, s.s, s.d, c.x.s, c.x.d (where x is one of eq, lt, le), bc1t, bc1f, cvt.x.y (where each of x and y is one of d, s, w)
n 2**n | n 2**n
----------------------+------------------------
0 1 | 16 65,536
1 2 | 17 131,072
2 4 | 18 262,144
3 8 | 19 524,288
4 16 | 20 1,048,576
5 32 | 21 2,097,152
6 64 | 22 4,194,304
7 128 | 23 8,388,608
8 256 | 24 16,777,216
9 512 | 25 33,554,432
10 1,024 | 26 67,108,864
11 2,048 | 27 134,217,728
12 4,096 | 28 268,435,456
13 8,192 | 29 536,870,912
14 16,384 | 30 1,073,741,824
15 32,768 | 31 2,147,483,648
| 32 4,294,967,296
Figure numbers in old exams refer to the 2nd edition of the textbook, but the designs of the single-cycle and multicycle machines of Chapter 5 did not change from the 2nd edition to the 3rd. In all of the old question papers, I have tried to add text indicating changes in figure numbers, but I might have missed a few places where figure numbers are mentioned.