> How a CPU works
Home / Episodes / Episode 6

Episode 6: Instructions and Decoding

Frame from episode 6
Coming soonEpisode 6 is on its way to @AITeacher-pro

An instruction is just a number in memory. We fetch it, split it into opcode and operand, decode it into control lines and run a tiny program one clock step at a time. This is the heart of every CPU.

You will learn

🎮 Now build it: Chapter 6, The control unit

Practise what this episode showed in the free Build a CPU game. You place the real chips, wire them and test them yourself.

Play Chapter 6