Concept Flow - Programmed I/O vs interrupt-driven I/O
Start I/O Operation
Programmed I/O?
Yes→CPU waits and checks device status repeatedly
Data transfer when ready
Interrupt-driven I/O?
Yes→CPU does other work
Device sends interrupt when ready
Invalid method
End
End
The flow shows two ways CPU handles I/O: Programmed I/O where CPU waits actively, and Interrupt-driven I/O where CPU works and responds when device signals.