What is the role of MAR and MDR?
The MAR (memory address register) is used to hold the address of the location to or from which data are to be transferred and the MDR(memory data register) having the data to be written into or read out of the addressed location.