imp question
imp question
Device
ready No
Yes
Issue data transfer instruction
FIGURE 12.8
It is clear from figure 12.8 that asynchoronous data transfer uses a delay loop to
resolve timing difference between the CPU and the /O device, causes alot of
processor time to be wasted. To avoid this wastage of time, interrupt driven data
tr¡nsfer scheme is used.
3. Software Interrupts :
External and internal interrupts are initiated from signals that occur in the
hardware of the CPU. A software interrupt, onthe other hand, is beinginitiated
by the execution of an lnstruction. Software interrupt is a special call instruction
that behaves like aninterrupt rather than a Subroutine call. It can be used by
the programmer to inittíate an interrupt procedure at any desired point in the
program. For example, the error routines, executed by program. There is a
provisiòn in all programming languages to write error routines.
[285 ]
RST to RSTA