CSCI-UA.0201-003
                        Computer Systems Organization                       
Prof. Mohamed Zahran   (aka Prof. Z)
mzahran AT cs DOT nyu DOT edu
Tu/Th 2:00-3:15 pm  Location: WWH 512
Office Hours (WWH 320): Tuedays 4:30-6:30pm

 


Announcements

Welcome students! ... to the Computer Systems Organization course, edition Fall 2013.  I will keep updating this page regularly. If you have questions related to that course feel free to email me. Here is some basic information:


Final exam Dec 17th  2-3:50am  WWH 512

Mailing List

Sign up for the Mailman mailing list for the course. You can do so by clicking here. Please follow the mailing list etiquette. 


Lecture Notes


DayTopicReadingAssignments
1. 9/3 Overview1
2. 9/5C programmingL1 Assigned
3. 9/10C programming
4. 9/12C programming
5. 9/17Bits, bytes, and int.2.1 - 2.2
6. 9/19Bits, bytes, and int.2.3
7. 9/24Floating points2.4L1 Due/ L2 Assigned
8. 9/26Machine Level Programing  I:  Basics3.1-3.4 and 3.13.1-3.13.3
9. 10/1Machine Level Programing  II: Arithmetic and Control3.5-3.6 , 3.13.4
10. 10/3Machine Level Programing III: IA32 Procedures3.7
11. 10/8Machine Level Programing  IV: Data3.8-3.9 , 3.13.5
12. 10/10Machine Level Programing  V: Advanced Topics3.10-3.12L2 due/ Lab3 Assigned
13. 10/17Linking I7
14. 10/22Linking II7
15. 10/24System Hardware ILab3 due
16. 10/29System Hardware IIL4 Assigned
17. 10/31Memory Hierarchy I6.1-6.3
18. 11/5Memory Hierarchy II6.4-6.6
19. 11/7Virtual Memory: Concepts9.1-9.6
20. 11/12Virtual Memory: Systems9.7-9.8
21. 11/14Dynamic Memory Allocation: Basics9.9
22. 11/19Dynamic Memory Allocation: Advanced9.10-9.11Lab 4 due
23. 11/21Exceptions and Processes8.1-8.4Lab 5 Assigned
24. 11/26Multitasking and Signals8.5-8.8
25. 12/3System Level I/O10
26. 12/5Concurrent Programming12.1-12.3
27. 12/10Synchronization 12.4-12.5L5 due
28. 12/12Revision


Labs
First, you need to setup your lab environment and read about submission policy.

Lab1:  rklab (11.25%)
Due Sep 24, 11:59pm.
Submit your lab as an attachment to an email to our grader (info at the top of this page).
To ensure correct submission (and that your email won't get lost) you need to do two things.
First, use your NYU email. Second, the subject of your email must be" Lab1: lastname, first name".

Lab2: bomblab (11.25%)
Due Oct 13, 11:59pm

Lab3: buflab (11.25%)
Due Oct 24th, 11:59pm

Lab4: Cachelab (11.25%)
Due Nov 19th

Lab5:
Mallocal Lab (15%)    Handout  
Due Dec 10th
Submit your lab as an attachment to an email to our grader (info at the top of this page).
To ensure correct submission (and that your email won't get lost) you need to do two things.
First, use your NYU email. Second, the subject of your email must be" Lab5: lastname, first name".

Practice Problems

Final exam of  spring'13

Practice problems  - sol


Interesting Links (Geeky stuff )

If you have an interesting link, please email it to the instructor and it will find its way to this page.

C tutorial
Another C tutorial

Unix tutorial
Unix commands cheat sheet
gdb tutorial
gdb cheat sheet: here (for 32-bit) and here (for 64-bit)
About coding style (If we cannot understand your code, your grade may be affected!!)
Intel 64 and IA-32 Software Developer manuals
IA32 cheat sheet (source: http://www.stanford.edu/class/cs107/other/IA32_Cheat_Sheet.pdf)