Department of Computer Science University of San Francisco


Computer Science 315-01
Computer Architecture
Spring 2014

Class: MWF 2:15-3:20, LS 307
Lab: W 4:45-6:25, HR 235


Professor: Peter Pacheco
Office: Harney 540
Phone: 422-6630
Email: domain: cs.usfca.edu, user: peter
Office Hours: M 4-5:30, F 1-2, and by appointment

TA: Joseph Tanigawa
Email: domain: dons.usfca.edu, user: jtanigawa
Office Hours: R 1:30-2:30 in one of the fifth floor Harney labs

Class mailing list: You will be automatically subscribed to the class mailing list. Please note that this list uses your USF email address. If you ordinarily read your email using another account, be sure to forward your USF email to the other account.

Course Syllabus (Here's a PDF Version.)


Homework Assignments


Code Examples


Other Information

  1. Brief Introduction to Subversion
  2. David Patterson's article, ``The Trouble with Multicore''
  3. The MIPS Green Sheet
  4. SPIM syscalls
  5. MARS MIPS Simulator
  6. SPIM MIPS Simulator
  7. Unsigned 4-bit numbers in various bases.
  8. Some 4-bit two's complement numbers
  9. All 4-bit two's complement numbers
  10. All n-bit two's complement numbers
  11. List of topics covered before the first midterm
  12. Some problems that I recommend you look at before the first midterm
  13. An example showing static linking
  14. A key to the first midterm
  15. Diagram showing the stack when the Cdecl calling convention is used
  16. Summary of the two calling conventions: Cdecl and x86_64 System V
  17. x86-64 Instructions and ABI
  18. Before the second midterm, I recommend you look at problems 4.9.2-4 in the text. In 4.9.2 and 4.9.3 don't add nop instructions; in a pipeline diagram, indicate in which cycle each stage of each instruction is executed. Here are some solutions.
  19. List of topics for the second midterm
  20. A key to the second midterm
  21. A list of additional topics that might be covered on the final exam
  22. Before the final exam, I recommend that you look at problems 5.7.1 and 5.7.2. Here are some solutions.



Peter Pacheco 2014-05-09