Quiz 1 - Wednesday, 2/21, 9am-5pm (pick 45-60 min block, your choice).
Topics: number representations, arithmetic, some bitwise operations (but not IEEE 754 floating point99).
A few review questions.
Partial solutions to review questions.
Quiz 5 - Wednesday 4/17, 9am-5pm (pick 45-60 min block, your choice).
Topics: MIPS loops, conditionals, arrays, strings, and calling functions (but
not stack frames, and no prologues or epilogues).
Given a snippet of C/C++ code, including code that calls functions,
write the equivalent MIPS code. Given a small snippet of MIPS code, including
code that calls functions, decipher what it is doing. Use temporary and saved
registers as appropriate.
MIPS reference sheet (same as usual)
A few review questions Partial solutions to review questions.
Quiz 6 - Friday 4/26, 9am-5pm (pick 45-60 min block, your choice).
Topics: MIPS functions and program layout, including register usage, stacks and stack frames,
calling conventions, and global variables. Call a function in MIPS. Given a small C/C++
function, write the equivalent MIPS code. Given a small snippet of MIPS code,
decipher what it is doing. Understand the difference between caller-save and
callee-save conventions. Understand how to use the stack, allocate or
deallocate a stack frame. Know how to use $sp, $fp, $a0, $v0, $s0, $t0, $gp,
and other registers.
MIPS reference sheet (same as usual)
A few review questions Partial solutions to review questions.
Additional quiz dates, times, and topics will be posted here as the semester progresses.