~/talk

Megahertz, Gigahertz, Registers and Instructions: How does a CPU actually work?

links:none on file
slides:none on file

Covers concrete CPU mechanics: registers and instruction memory, the five-step fetch–decode–fetchdata–execute–writeback cycle, and example x86-386 assembly sequences that show why one high-level operation becomes multiple instructions. Gives clock and cache numbers (e.g. 32KB L1 / 4 cycles, L2 ~12, L3 ~36, main memory ~200 cycles) to show why memory dominates performance. Explains pipelining, calling conventions, stacks, and speculative execution and branch prediction and notes real security impact from Meltdown and Spectre exploiting those optimizations.

AI-written summary · about

  1. 0:00Introduction to CPUs
  2. 2:48Building a CPU from scratch
  3. 7:19Modern CPU architecture
  4. 11:24Instruction sets explained
  5. 16:07Assembly language examples
  6. 20:33Math and logic in assembly
  7. 24:05Control flow and functions
  8. 28:46The C calling convention
  9. 35:26Fetch-execute cycle and clock
  10. 39:42Pipelining and optimization
  11. 41:52Branch prediction and speculation
  12. 45:43Memory hierarchy and performance
  13. 52:21RISC vs CISC architecture
  14. 58:02Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.