The Wayback Machine - https://web.archive.org/web/20240731113258/https://www.geeksforgeeks.org/internal-registers-of-dma-controller/
Open In App

Internal Registers of DMA Controller

Last Updated : 07 Mar, 2024
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report

There are various types of controller

1. Base Address Register (16 bit)
2. Base Word Count Register (16 bit)
3. Current Address Register (16 bit)
4. Current Word Count Register (16 bit)
5. Temporary Address Register (16 bit)
6. Temporary Word Count Register (16 bit)
7. Status Register (8 bit)
8. Command Register (8 bit)
9. Temporary Register (8 bit)
10. Mode Register (8 bit)
11. Mask Register (4 bit)
12. Request Register (4 bit)

These are explained as following below.

  1. Base Address Register: It is a 16 bit register that stores the initial address from where the data transfer will take place in a DMA Controller. It is used to reload the Current Address Register after every operation.
  2. Base Word Count Register: It is a 16 bit register that stores the number of transfers to be performed during an operation. It is used to reload the Current Word Count Register after every operation.
  3. Current Address Register: It is a 16 bit register that stores the memory address for DMA data transfer. The value automatically increases or decreases after every operation based on how it is programmed. Each channel has its own Current Address Register.
  4. Current Word Count Register: It is a 16 bit register that stores the number of transfers remaining to be performed during an operation. The value automatically decreases after every operation.
  5. Temporary Address Register: It is a 16 bit register that stores the address of data during memory to memory transfer in a DMA Controller.
  6. Temporary Word Count Register: It is a 16 bit register that stores the number of transfers to be performed during a memory to memory transfer in a DMA Controller.
  7. Status Register: It is a 8 bit register that indicates which channel is currently under DMA services or which channels has reached its terminal count. It basically gives the status of the channels. The terminal counts(TC) bits indicates if the channel has reached its terminal count. If terminal count is reached, the transfers are terminated.
  8. Command Register: It is a 8 bit register that programs the DMA operation and initializes the channel to be used for data transfer.
  9. Temporary Register: It is a 8 bit register that holds data during memory to memory data transfer. It always contain the last byte transferred in previous memory to memory transfer operation.
  10. Mode Register: It is a 8 bit register that determines the operating mode, i.e., the transfer mode and other transfer parameters, for a channel. Each channel has its own mode register which is selected by bit positions 0 and 1.
  11. Mask Register: It is a 4 bit register that is used to mask a channel from requesting the DMA Services. When the mask on a channel is SET, the channel is disabled. It sets or clears all the mask on all the channels with just one command.
  12. Request Register: It is a 4 bit register that is used to request DMA data transfer by the software. It determines which channel is requesting for the data transfer.

Similar Reads

Direct memory access with DMA controller 8257/8237
Suppose any device which is connected to input-output port wants to transfer data to memory, first of all it will send input-output port address and control signal, input-output read to input-output port, then it will send memory address and memory write signal to memory where data has to be transferred. In normal input-output technique the process
3 min read
Direct Memory Access (DMA) Controller in Computer Architecture
DMA Controller is a hardware device that allows I/O devices to directly access memory with less participation of the processor. DMA controller needs the same old circuits of an interface to communicate with the CPU and Input/Output devices. What is a DMA Controller?Direct Memory Access uses hardware for accessing the memory, that hardware is called
5 min read
Proportional Integral (PI) Controller and PI Controller Enhanced (PIE) Queue Disciplines
The proportional Integral (PI) Controller is the AQM algorithm. It manages the queue at the output port of the router. It includes the major features which were absent in RED. The proportional Integral (PI) controller was designed to overcome the problems of RED. It uses ‘instantaneous queue length’ as a congestion metric. PI operates during the ‘e
7 min read
I/O Interface (Interrupt and DMA Mode)
The method that is used to transfer information between internal storage and external I/O devices is known as I/O interface. The CPU is interfaced using special communication links by the peripherals connected to any computer system. These communication links are used to resolve the differences between CPU and peripheral. There exists special hardw
6 min read
I/O Program Controlled Transfer vs DMA Transfer
In this article, we will discuss the overview of Modes of transfer and mainly our focus will be on the difference between I/O Program Controlled Transfer vs DMA Transfer. Let's discuss it one by one. Prerequisite – Modes of Transfer in detail Modes of TransferThe CPU executes the I/O instructions & accepts the data temporarily but finally, the
3 min read
Modes of DMA Transfer
In this article we will try to understand the details associated with the DMA (Direct Memory Access) like what exactly DMA is or how it works and also further we will see various modes of DMA Transfer (like Burst mode and other modes). Before directly jumping into the details associated with the modes of DMA transfer let us first try to understand
5 min read
Registers of 8085 microprocessor
Introduction : A microprocessor is a multipurpose, programmable, clock-driven, register-based electronic device that reads binary instructions from a storage device called memory, accepts binary data as input and processes data according to those instructions and provide results as output. A 8085 microprocessor, is a second generation 8-bit micropr
8 min read
8085 program to add three 16 bit numbers stored in registers
Problem - Write an assembly language program to add three 16 bit numbers stored in register HL, DE, BC and store the result in DE with minimum number of instructions. Example - Assumptions - Numbers to be added are already stored in register HL, DE, BCNumbers stored in register are such that final result should not be greater than FFFF DAD D perfor
3 min read
General purpose registers in 8086 microprocessor
General-purpose registers are used to store temporary data within the microprocessor. There are 8 general-purpose registers in the 8086 microprocessor. 1. AX: This is the accumulator. It is of 16 bits and is divided into two 8-bit registers AH and AL to also perform 8-bit instructions. It is generally used for arithmetical and logical instructions
2 min read
Essential Registers for Instruction Execution
These are various registers required for the execution of instruction: Program Counter (PC), Instruction Register (IR), Memory Buffer (or Data) Register (MBR or MDR), and Memory Address Register (MAR). These are explained as follows below. Program Counter (PC) : It contains the address of an instruction to be executed next. The PC is updated by the
3 min read
three90RightbarBannerImg