Computer Architecture
How computers really work, from bits and logic gates through instruction sets, assembly language and caches to pipelining, superscalar execution and data-parallel hardware.
- Intermediate level
- 6 modules
- 29 lessons
- 158 quiz questions
Syllabus
01How computers workThe four functions of a computer and its main components, binary and hexadecimal numbers, binary addition, subtraction, multiplication and division, two's complement and text encoding, logic gates, and building an adder and a small ALU from gates.5 lessons
02Instruction set architectureThe contract between software and hardware: what an ISA defines, CISC versus RISC, instruction formats and encoding, registers and addressing modes, and decoding a tiny ISA by hand.5 lessons
03Assembly languageHow source code becomes machine code, and how to read and write RISC-V assembly: registers, loads and stores, arrays, branches, loops and function calls.4 lessons
04Memory and cachesWhy caches exist and how they work: the memory hierarchy and locality, hits, misses and AMAT, mapping and associativity, replacement and write policies, and calculation practice.5 lessons
05Instruction-level parallelismHow a processor overlaps the work of many instructions: the instruction cycle, pipelining, hazards and their remedies, superscalar and out-of-order execution, plus calculation practice.5 lessons
06Data-level parallelismProcess many data elements with one instruction: Flynn's taxonomy, classic vector processors, SIMD extensions in everyday CPUs, GPUs and throughput computing, plus calculation practice.5 lessons