Computer Organization & Embedded System — Input-Output Organization and Multiprocessor, NEC licence examination syllabus (Nepal Engineering Council).
The busiest component in a computer doesn't need to babysit every byte.
Every time you copy a large file to a USB drive and your CPU somehow stays responsive enough to keep browsing the web at the same time, DMA is why.
The CPU only sets up the DMA controller once (start address, word count, direction), then goes off to do other work. The DMA controller directly moves data between the device and memory, interrupting the CPU only once — when the entire transfer is done.
Cycle stealingDMA controller "steals" one bus cycle at a time between CPU cycles, sneaking in a transfer without fully halting the CPU. Slower transfer, but CPU keeps mostly running.
Burst modeDMA takes over the bus completely for the whole block transfer in one go. Much faster block transfer, but the CPU is fully blocked from using the bus during that time.
Create a free account to tick topics off, take notes as you read, watch the video lessons and get a day-by-day study plan built around your exam date.
Loading…