Jump to content

Memory data register

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 86.4.182.131 (talk) at 20:51, 12 January 2011. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The Memory Data Register (MDR) is the register of a computer's [[control unit] that contains the data to be stored in the computer storage (e.g. RAM), or the data after a fetch from the computer storage. It acts like a buffer and holds anything that is copied from the memory ready for the processor to use it.

The MDR is a two-way register. When data is fetched from memory and placed into the MDR, it is written to in one direction. When there is a write instruction, the data to be written is placed into the MDR from another CPU register, which then puts the data into memory.

The Memory Data Register is half of a minimal interface between a microprogram and computer storage, the other half is a memory address register.

Far more complex memory interfaces exist, but this is the simplest that can work.