I/O Communication
Techniques
ä 3 techniques are possible for I/O operation
ä Programmed I/O
ä Does not use interrupts: CPU has to wait for
completion of each I/O operation
ä Interrupt-driven I/O
ä CPU can execute code during I/O operation: it
gets interrupted when I/O operation is done.
ä Direct Memory Access
ä A block of data is transferred directly from/to
memory without going through CPU