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:, user: peter
Office Hours: M 4-5:30, F 1-2, and by appointment

TA: Joseph Tanigawa
Email: domain:, 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

Peter Pacheco 2014-03-07