CS 354 Fall 2020 TA Notes

TA Notes for CS 354 Fall 2020 will be found here

Please follow the instructions related to piazza and office hours.

Helpful Links for Assembly

  1. CDECL
  2. operands and registers
  3. http://flint.cs.yale.edu/cs421/papers/x86-asm/asm.html#calling

Lab 2

For part 5 of Lab 2, please use interrupt number 38, _Xint38, not interrupt number 39, to implement the system call dispatcher. Therefore, you will also need to excute the trap instruction "int $38" instead of "int $39" in the system call wrapper functions.

Lab 3

Lab 4