Episode 11: Interrupts

Coming soonEpisode 11 is on its way to @AITeacher-pro
Constantly polling a button wastes time. We add a request line so the outside world can interrupt the CPU between instructions, call a handler automatically, and return exactly where it left off.
You will learn
- Why polling wastes time
- How a request line signals the CPU
- How the CPU takes an automatic call between instructions
- How the enable flag and RETI make a safe handler
🎮 Built the CPU yet?
This episode goes past the 8-bit computer you can build in the free Build a CPU game. If you have not played it yet, start at Chapter 1.
Play Build a CPU