Computer architecture
Connect digital logic, instruction execution, memory hierarchy, and operating-system boundaries. Classical models and archived teaching systems are labeled explicitly; current ISA details come from ratified specifications.
Get an in-app notice when new lessons or practice are added.
15 chapters across 5 modules
Course chapters
Explore all 15 chapters in any order. Each chapter has learning goals, a practice prompt, and a primary reference; expanded reading pages are linked from their chapter titles.
No matching chapters. Try another term.
01 · Logic and representation3 chapters
Bits, integers, and overflow
- Interpret a bit pattern using an explicit width and signedness
Practice: Convert eight-bit values and distinguish carry from signed overflow.
Read the primary referenceLesson guide · ReadyBoolean logic and combinational circuits
- Derive a truth table before implementing a small circuit
Practice: Design a multiplexer and verify all control/input combinations.
Read the primary referenceLesson guide · ReadyState, clocks, and registers
- Distinguish stored state from combinational output
Practice: Trace a register update over a sequence of clock edges.
Read the primary referenceLesson guide · Ready
02 · Instruction-set execution3 chapters
Instructions, registers, and the program counter
- Trace changes in architectural state for a short instruction sequence
Practice: Step through a small arithmetic and branch example using a documented base ISA.
Read the primary referenceLesson guide · ReadyLoads, stores, and alignment
- Explain how addresses, widths, and byte order affect memory access
Practice: Map a byte array to word loads under explicit alignment assumptions.
Read the primary referenceLesson guide · ReadyCalling conventions and stack frames
- Distinguish ISA instructions from the software calling convention
Practice: Trace arguments, return addresses, and saved registers through two calls.
Read the primary referenceLesson guide · Ready
03 · Memory hierarchy3 chapters
Memory hierarchy and locality
Relate a program’s access pattern to the storage levels that serve it.
- Explain why access pattern changes effective memory cost
Practice: Compare sequential and strided accesses using a simple cache model.
Read the primary referenceExpanded reading · ReadyCache mapping and misses
- Classify compulsory, capacity, and conflict misses in a stated model
Practice: Trace a short access sequence through a tiny direct-mapped cache.
Read the primary referenceLesson guide · ReadyVirtual addresses and translation
- Separate virtual addresses, physical frames, and permission checks
Practice: Translate sample addresses through a small page table and identify a fault.
Read the primary referenceLesson guide · Ready
04 · Pipelines and parallelism3 chapters
Pipelining and hazards
- Distinguish increased throughput from reduced single-instruction latency
Practice: Schedule a dependent instruction sequence and identify stalls.
Read the primary referenceLesson guide · ReadyBranches and speculation
- Explain why incorrect speculation must not change architectural results
Practice: Compare a predictable and unpredictable branch under an explicit cost model.
Read the primary referenceLesson guide · ReadyMulticore sharing and ordering
- Separate cache coherence from a program’s synchronization rules
Practice: Analyze a shared flag example and state what ordering guarantee is missing.
Read the primary referenceLesson guide · Ready
05 · Hardware and systems boundaries3 chapters
Traps, interrupts, and privilege
- Explain how control moves from an application into privileged code
Practice: Draw a system-call path in the archived xv6 teaching system.
Read the primary referenceLesson guide · ReadyPerformance models and measurement
- Use latency, throughput, and Amdahl’s law under stated assumptions
Practice: Estimate the maximum gain from improving one measured component.
Read the primary referenceLesson guide · ReadyBuild an instruction trace explorer
- Connect instructions, memory accesses, and visible results
Practice: Implement a tiny trace interpreter and document the instructions it supports.
Read the primary referenceLesson guide · Ready
Learn it. Check it. Try again.
11 original questions with worked explanations and source references. Filter by difficulty, revisit mistakes, and save your attempt as you go.
Open Computer architecture practiceBooks & references
Free reading at the publisher or author’s site. External materials keep their own licenses.
- Ratified RISC-V specificationsRISC-V International · standard
Source & reuse terms
Free to read at the official provider. This catalog links to the source; it does not reproduce it or assert permission to redistribute it. Product use, hosted labs, and certificates may have separate costs.
- RISC-V Instruction Set Manual sourceRISC-V International · repository
Source & reuse terms
Free to read at the official provider. This catalog links to the source; it does not reproduce it or assert permission to redistribute it. Product use, hosted labs, and certificates may have separate costs.
- Nand to Tetris course materialsNoam Nisan and Shimon Schocken · course
Source & reuse terms
The authors provide course materials and projects to read at their site. This reference does not include the commercial textbook or imply that all associated course offerings are free. Link only; follow each item’s terms.
- Computation Structures (Spring 2017 archive)MIT OpenCourseWare · course
Source & reuse terms
Free to read at the official provider. This catalog links to the source; it does not reproduce it or assert permission to redistribute it. Product use, hosted labs, and certificates may have separate costs.
- xv6 teaching operating system (2024 course archive)MIT PDOS · book
Source & reuse terms
Free to read at the official provider. This catalog links to the source; it does not reproduce it or assert permission to redistribute it. Product use, hosted labs, and certificates may have separate costs.