BSCS 3B
BSCS 3B
Human Readable
Machine Readable
Communication
Programmed I/O. The process of programmed I/O manages the data transmission between the
attached devices and the server.
Interrupt-Based I/O. The I/O process, based on interrupts, governs the operation of data
transmission to and from attached I/O devices.
Direct Memory Access (DMA) I/O. It is used in multi-core processors for intra-chip data transfer.
For memory locations and I/O applications, memory mapped I/O corresponds to a single
address space. The processor considers as memory locations the state and data records of I/O
modules and uses the same computer instructions to access all memory and I/O files. Whereas
isolated I/O refers to a mode isolating memory addresses such that no operations influence the
location of values.
In terms of managing space for memory sites, they vary. In order to access memory location,
memory mapped I/O uses single address space while isolated I/O uses separate instructions to
access memory locations.
6. When a device interrupt occurs, how does the processor determine which device issued the
Interrupt?
By running a test for interruption, the processor identifies which device issued the interrupt. It
determines the type of interrupt with the on-going execution of the test and sends an
acknowledgement signal to the device that issued the interrupt. This allows it to remove its
interrupt signal from the device.
7. When a DMA module takes control of a bus, and while it retains control of the bus, what does
the processor do?
The DMA module only uses the bus when it is not needed by the processor, or it must force the
processor to temporarily suspend operation. Because the DMA module in effect steals a bus
cycle, this method is referred to as cycle stealing. If this occurs, the processor deals with other
things and continues to work, while the bus operation is handled by the DMA.