Skip to main content

Reference and Selective Reading

You do not need to read the source books front-to-back for this module. Use the concept pages and practice pages first. Open these local chunks only when you need alternate exposition, more worked examples, or a deeper exercise lane.

Source Roles

SourceRoleWhy it is here
Computer Organization and Design (Patterson & Hennessy)Primary teaching sourceBest overall coverage of ISAs, arithmetic, pipelining, caches, virtual memory, and I/O
CODE (Petzold)Conceptual foundationBuilds the same ideas from electrical first principles; useful when Patterson feels abstract
The C Programming Language (K&R)Cross-referenceSource of the C constructs you are reading in disassembly
SICPPeripheralOccasional reinforcement of the abstract-machine viewpoint; not the main path

Note: Computer Systems: A Programmer's Perspective (CSAPP) is not part of the local chunks. If you need a second take on caches, virtual memory, or linking, that is the recommended external source.

Read Only If Stuck

ISA and the Stored-Program Machine

Arithmetic, Logic, and Control

Memory Hierarchy and Cache

Pipelining and Parallel Execution

I/O and Virtual Memory

Performance Framing

Optional Deep Dive

External Deep Dive

Concept-to-Source Map

Primary conceptBest source if stuckWhy this source
ISA, RISC vs CISC, fetch-decode-executeCOD 2.1 IntroductionCleanest architectural framing
Registers, PC, stack pointerCOD 2.8 Supporting ProceduresCanonical stack-frame discussion
From C to assemblyCOD 2.13 A C Sort ExampleEnd-to-end source -> assembly walkthrough
ALU / arithmeticCOD 3.2 Addition and SubtractionDirect derivation of the adder and flags
Control flow at the machine levelCOD 2.7 DecisionsBest branch and compare discussion
Memory hierarchyCOD 5.1 IntroductionCleanest statement of locality
Cache organizationCOD 5.2 Caches (Part 6)Associativity and replacement in depth
Cache-aware programmingCOD 5.3 Measuring and Improving Cache PerformanceTurns cache model into action
Five-stage pipelineCOD 4.5 Overview of PipeliningBest first exposure to pipelining
HazardsCOD 4.7 Data HazardsCanonical load-use and forwarding analysis
Virtual memoryCOD 5.4 Virtual MemoryStandard multi-level translation story
Hardware-software contractCOD 7.10 RooflineBest unifying performance model