> How a CPU works
Home / Episodes / Episode 7

Episode 7: Jumps and Loops

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

Straight-line programs run once and stop. By overwriting the program counter the CPU can jump, and by testing a result with the zero flag it can decide, which gives us loops and a countdown.

You will learn

🎮 Now build it: Chapter 7, Program it

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 7