[go: up one dir, main page]

0% found this document useful (0 votes)
52 views6 pages

Unit - 1 Topic - 6: Programming For Input and Output

This document discusses input and output devices and their programming. It describes the typical components of I/O devices including electronic, mechanical, analog and digital parts. It also explains that registers act as buffers between the CPU and I/O devices for reading, writing and checking status, and that I/O programming can occur through instructions or memory mapping. Additionally, it notes that polling involves reading a device's status register to check if a process has completed.

Uploaded by

Arun John M R
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views6 pages

Unit - 1 Topic - 6: Programming For Input and Output

This document discusses input and output devices and their programming. It describes the typical components of I/O devices including electronic, mechanical, analog and digital parts. It also explains that registers act as buffers between the CPU and I/O devices for reading, writing and checking status, and that I/O programming can occur through instructions or memory mapping. Additionally, it notes that polling involves reading a device's status register to check if a process has completed.

Uploaded by

Arun John M R
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 6

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

You might also like