by turhan-ergene
Polling vs interrupts, the IRQ vector, PC/LR/SP, and the buses that move data around a CPU — the theory half of 1DT301's Pico labs, the part that is easy to skip past while your LEDs are blinking.
A polling loop asks "has it happened yet?" over and over, burning cycles on every question that comes back no. An interrupt flips that around: the hardware itself signals the CPU only at the moment something actually happens, so the CPU is free to do anything else in between.
multiple choice
Ready to test yourself?
Sign up free to answer, score points, and build your streak.