In other words, 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.
The Memory Address Register is half of a minimal interface between a microprogram and computer storage. The other half is a memory data register.
Far more complex memory interfaces exist, but this is the least that can work.
Chat with our AI personalities
address register keeps the track where a given instruction or piece of data is stored in memory.each storage location in memory is identified by an address ,just each house in a street has a address
MAR holds the memory location of data that needs to be accessed