





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






In Interrupt Initiated I/O transfer, the first task of the interrupt system is to
identify the source of the interrupt. In the case several sources requesting for
service, the system should decide which device to serve first.
determine which condition is to be serviced.
Higher priority is assigned to the devices which if delayed, could have serious
consequences. (High speed devices i.e. Magnetic disk)
Establishing the priority of simultaneous interrupts can be done by software
or hardware.
Software โ polling procedure is used to assign the priority.
When the interrupt comes from several sources, the control is changed to a
common branch address.
Program that takes care of interrupts begins at the branch address and polls
the interrupting sources in sequence.
The order in which they are tested determines the priority of each interrupt.
The device which is tested first has the highest priority and if it has set a
interrupt, then control branches to a service routine for this source.
Disadvantage: If there are many interrupts the time required to poll them can
exceed the time available to service the I/O device.
Hardware Priority Interrupt:
requests from many sources, determines the highest priority source and issues
an interrupt request to CPU.
routine directly.
Highest priority device is placed in the first position followed by the lower
priority devices.
Interrupt request line is common to all devices.
If any device places interrupt signal, the interrupt request line is driven to
low level state and enables an interrupt input to CPU.
CPU responds by giving the interrupt acknowledge signal and the signal
is received by device 1 at its priority in (PI).
If device 1 has given the interrupt, it blocks the acknowledge signal by
placing a 0 in PO output and inserts its own vector address (VAD) in to the
data bus.
If device 1 has not given the interrupt, it passes the acknowledge to the
next device by placing 1 in PO.
Three condition: 1. PI =0 (No acknowledge signal) PO= 0
One stage of Daisy- chain priority arrangement
Parallel Priority Interrupt Hardware.
INTACK: Signal from CPU which enables the bus buffers in the output register
and a vector address VAD is placed into the data bus.
Priority Encoder:
It is a circuit that implements the priority function.
Logic of Priority encoder is such that if two or more inputs arrive at the same
time, the input having higher priority will take precedence.
Truth table:
Inputs outputs
(d3 d2 d1 d0) (A0 A1)
I0 I1 I2 I3 x y IST
1 x x x 0 0 1
0 1 x x 0 1 1
0 0 1 x 1 0 1