Professional Documents
Culture Documents
Lectures On: Input-Output Organization
Lectures On: Input-Output Organization
Input-Output Organization
UNIT 8
Peripheral Devices
Keyboard
Monitor
Printer
Magnetic Disks etc…
ASCII
INPUT-OUTPUT INTERFACE
Bus Contains:
DATA
ADDRESS
CONTROL
I/O command
Control Command
Status Command
Output Data
Input data
I/O vs Memory Bus
3 ways to communicate
3 fields:
Start bit
Character bits
Stop bits
Priority ?
Priority Encoder
Daisy Chain Priority
Vector Addresses
2. Clear Interrupt status bit 3. Clear the bit in interrupt register belonging to
the source that has been serviced.
3. Save contents of Processor Registers
4. Set lower-level priority bits in the mask
4. Set Interrupt Enable bit IEN. register.
5. Proceed with service routine. 5. Restore return address into Pc and set IEN.
Direct Memory Access (DMA)
DMA transfers are performed by a control circuit associated with the I/O device and this circuit
is referred as DMA controller. The DMA controller allows direct data transfer between the device
and the main memory without involving the processor.
Questions can be asked