Memory_address_register

Memory address register

Memory address register

Add article description


In a computer, the memory address register (MAR)[1] is the CPU register that either stores the memory address from which data will be fetched to the CPU registers, or the address to which data will be sent and stored via system bus.

In other words, this register is used to access data and instructions from memory during the execution phase of instruction. MAR holds the memory location of data that needs to be accessed. When reading from memory, data addressed by MAR is fed into the MDR (memory data register) and then used by the CPU. When writing to memory, the CPU writes data from MDR to the memory location whose address is stored in MAR. MAR, which is found inside the CPU, goes either to the RAM (random-access memory) or cache.

The MAR register is half of a minimal interface between a microprogram and computer storage; the other half is a MDR.

In general, MAR is a parallel load register that contains the next memory address to be manipulated, for example the next address to be read or written.


References

  1. "Understanding the MAR and the MDR". www.cs.umd.edu. Archived from the original on 2017-03-28. Retrieved 2017-01-20.



Share this article:

This article uses material from the Wikipedia article Memory_address_register, and is written by contributors. Text is available under a CC BY-SA 4.0 International License; additional terms may apply. Images, videos and audio are available under their respective licenses.