Unit – 1
Topic – 6
Programming for Input and Output
M. R. Arun
Structure of typical Input output Device
About Input Output Device Mechanism
Electronic Components
Non – Electronic Components ( Mechanical , Electrical)
Analog processing component
Digital Processing Component
About Registers
Buffering Agent
Helps for read/write operation
Mediator between CPU and I/O Devices
Data Registers- Read or write of Data
Status Register – Current status whether computation done or not
I/O Programming
In two ways 1. I/O Instruction ( from device register)
2. Memory mapped I/O ( from look up table)
Polling
Asking an I/O device whether process is completed by reading its status
register