Files identified as ``pdf'' are in Adobe Acrobat format.
Files identified as ``ppt'' are in Microsoft Powerpoint format.
These were prepared using Microsoft Office on a Windows-based PC
or using OpenOffice on a PC running FreeBSD.
- Class 01 - Introduction (Aug 26):
(pdf,
pdf4up,
ppt)
- Class 02 - Bits, bytes, and integers (Aug 28):
(pdf,
pdf4up,
ppt).
- As mentioned in class, if you write the number -2147483648 in C, you'll get a compiler warning and some surprising results.
See the Note on writing TMin in C, from the textbook'
s errata pages, for a more detailed
discussion.
- Class 03 - Floating Point (Sep 02):
(pdf,
pdf4up,
ppt).
- Class 04 - Machine Language Programming I - Overview (Sep 04):
(pdf,
pdf4up,
ppt).
Here's the
code for the function swap.
- Class 05 - Machine Language Programming II - Control (Sep 09):
(pdf,
pdf4up,
ppt).
Here's the
code to illustrate control.
- Class 06 - Machine Language Programming III - Procedures (Sep 11):
(pdf,
pdf4up,
ppt).
- Class 07 - Machine Language Programming IV - Data (Sep 16):
(pdf,
pdf4up,
ppt).
- Class 08 - Machine Language Programming V - Advanced Topics (Sep 18):
(pdf,
pdf4up,
ppt).
Here's the
code to illustrate buffer overflow
- Special Presentation - Program Verification with BDDs (Sep 18):
(pdf,
pdf4up,
ppt).
- Class 09 - Main memory and caches (Sept. 23):
(pdf,
pdf4up,
ppt).
- Class 10 - Cache Memories (Sept. 30):
(pdf,
pdf4up,
ppt).
- Class 11 - Exceptional Control Flow and Processes I (Oct. 2):
(pdf,
pdf4up,
ppt).
- Class 12 - Exceptional Control Flow II (Oct. 7):
(pdf,
pdf4up,
ppt).
- Class 13 - System I/O (Oct. 9):
(pdf,
pdf4up,
ppt).
Sample code: (Directory, README).
- Class 14 - Virtual Memory (Oct. 14):
(pdf,
pdf4up,
ppt).
- Class 15 - Dynamic Memory Allocation - 1 (Oct. 16):
(pdf,
pdf4up,
ppt).
- Class 16 - Dynamic Memory Allocation - 2 (Oct. 21):
(pdf,
pdf4up,
ppt).
- Class 17 - Disk-based Storage (Oct. 23):
(pdf,
pdf4up,
ppt).
- Class 18 - Files (Oct. 28):
(pdf,
pdf4up,
ppt).
- Class 19 - Internetworking (Nov. 4):
(pdf,
pdf4up,
ppt).
Sample code: (Directory, README).
- Class 20 - Network Programming (Nov. 6):
(pdf,
pdf4up,
ppt).
Sample code: (Directory, README).
- Class 21 - Web Services (Nov. 11):
(pdf,
pdf4up,
ppt).
Code for tiny web server: (Directory, README).
- Class 22 - Concurrent Programming (Nov. 13):
(pdf,
pdf4up,
ppt).
- Class 23 - Concurrent Programming II (Nov. 18):
(pdf,
pdf4up,
ppt).
- Class 24 - Synchronization (Nov. 20):
(pdf,
pdf4up,
ppt).
Sample code: (Directory, README).
- Class 25 - Program Optimization I (Nov. 25):
(pdf,
pdf4up,
ppt).
- Class 26 - Program Optimization II (Dec. 2):
(pdf,
pdf4up,
ppt).
All the code used for the measurements can be found in
/afs/cs.cmu.edu/academic/class/15213-f08/www/code/opt
|