Dma-how dma works-microprocessor, Assembly Language

DMA

  • DMA stands for Direct Memory Access
    • It is uses same Address/Data lines on ISA bus
    • It controls the ISA bus instead of the processor ("bus master")
    • Floppy Drive (DRQ2)
    • Hard Drive (varies)
    • Sound Card (varies)

 

  • DMA vs. Programmed I/O
    • It need less processor load
    • It can continually transfer the same block (loop indefinitely)
    • The devices which are demand-based can be serviced more efficiently

     

  • DMA characteristics:
    • It is 16-bit or 8-bit transfers

 

HOW DMA WORKS to transfer data from memory to a peripheral:

1. The peripheral Device requests for DMA service by pulling DREQ line high

2. The DMA controller requests CPU go on hold by pulling CPU's HRQ line high

3. The CPU finished current bus cycle, then acknowledges with HLDA the CPU relinquishes ALL bus control now (3-state)

4. The DMA controller activates DACK line to acknowledge the DMA to the peripheral

5. The DMA start transferring data to the peripheral

 

Posted Date: 10/10/2012 9:17:48 AM | Location : United States







Related Discussions:- Dma-how dma works-microprocessor, Assignment Help, Ask Question on Dma-how dma works-microprocessor, Get Answer, Expert's Help, Dma-how dma works-microprocessor Discussions

Write discussion on Dma-how dma works-microprocessor
Your posts are moderated
Related Questions
DEC:  Decrement :- The decrement instruction subtracts 1 from the contents of the particular memory location or register. All the conditions code flags except carry flag are affec

What is the hex for + and - under with a sum involved

code, Assembly Language How to print strings in Right Triangle form?

assempbly language routine that takes an array named A containing n bytes of postive numebrs and fills two arranys, array B containing n words and array C containing n long words

Instruction Formats A machine language instruction format has 1 or more number of fields linked with it. The first field is known as operation code field or op code field, whic

1. Start your program at address $8500. To do this you need to inform the assembler, through the EQU and ORG assembler directives, that you want your program to start at $8500. Thi


Arithmetic Instruction :               These instructions are usually perform the arithmetic operations, like subtraction ,multiplication, addition, and division along with th

RISC Characteristics : The  concept  of  RISC  architecture  include  an  attempt  to  reduce  execution  time  by make  simple  the instruction set of the computer. The main c

Write a nonrecursive version of the Factorial procedure (Section 8.3.2) that uses a loop. (A VideoNote for this exercise is posted on the Web site.) Write a short program that inte