 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.