CS232: Computer Architecture II
Spring 2009
Lecture Notes

The slides from last Spring can be found here. Note that some lectures will be different this semester and in a somewhat different order (see the schedule). As the semester goes on, I'll post my updated annotated slides here for your reference. These should be up within a week after lecture.

LectureNotesExamples
1
Introduction to CS232 & Bit-wise Logical and Shifting (annotated) (pdf) notes example
2
MIPS Introduction (annotated) (pdf) arith alternate load/store
3
More MIPS Instructions (annotated) (pdf) Power of 3 (C, MIPS) case
4
Functions in MIPS (annotated) (pdf) handout answers
5
Machine Language and Pointers (annotated) (pdf) pointer code
6
ISA's, Abstraction, Compilers, and Assembly (annotated) (pdf) NOTES
7
Floating Point Arithmetic (annotated) (pdf) data.s
8
I/O Programming, Interrupts and Exceptions (annotated) (pdf) bonk.c bonk.s
9
A Single-Cycle MIPS Processor (annotated) (pdf)
10
Processor Performance (annotated) (pdf)
11
Pipelining (annotated) (pdf)
12
Pipelined Datapath and Control (annotated) (pdf)
13
Data Hazards and Forwarding (annotated) (pdf)
14
Stalls and flushes (ppt) (pdf)
15
Cache introduction (annotated) (pdf)
16
More cache organizations (annotated) (pdf)
17
Cache writing & performance (annotated) (pdf)
18
Cache-aware Programming (ppt) (pdf)
19
Virtual Memory (annotated) (pdf)
20
Introduction to I/O (annotated) (pdf) worksheet answers
21
Profiling for Performance (annotated) (pdf) test.c instrumented
22
x86 assembly (annotated) (pdf) handout x86_overview
23
Parallelism: SIMD (pdf) and Multi-core (pdf)
24
Atomic Operations (annotated) (pdf) 232_demo.c
25
Semester Summary (annotated) (pdf)



email