In a microprocessor-based system, if a bus (DMA) request and an interrupt request arrive sumultaneously, the microprocessor attends first to the bus request.
View worked solution
Answer: 1
The given statement is TRUE (represented by 1).
Explanation:
In a microprocessor-based system, a DMA (Direct Memory Access) request (also known as a bus request) has a higher priority than an Interrupt request due to the following reasons:
- Sampling Frequency:
- The microprocessor samples DMA requests (such as
HOLD) at the end of every machine cycle. - In contrast, interrupt requests (such as
INTR) are sampled only at the end of the current instruction cycle (which consists of multiple machine cycles).
- The microprocessor samples DMA requests (such as
- Time Sensitivity: DMA is used for high-speed data transfer where any delay can lead to data loss from fast I/O devices. Interrupts are less time-critical and can safely wait until the current instruction completes.
Therefore, if both requests arrive simultaneously, the microprocessor services the bus (DMA) request first.
Free practice · Your answers on this page are not saved.
