GCSE · Computer Science · Eduqas · Spec C500QS
Memory data register (MDR)
Every time the CPU fetches an instruction or saves a value, the item stops in one tiny box on the way. What is in that box, and what isn't?
Computer Science · The CPU
Watch one register: the MDR
Two reads and one write. Keep your eye on the MDR box and ignore the rest.
Phase: Read 1 · find the instruction
MAR (the address)
100
MDR
(earlier item)
Main memory at that address
ADD 5
Output
Step 1: The CPU wants an instruction. The address 100 only says where to look. Nothing has come back yet, so the MDR still holds an earlier item.
Step through the trace — every value is the lesson’s, not run by the page.
Computer Science · The CPU
What is the MDR holding right now?
Each scenario freezes the CPU at one moment. Pick a scenario, then pick what the MDR is holding at that moment.
Still to sort
An instruction just fetched (0)
Read from main memory, and it is something for the CPU to carry out.
Where the line is: It is an instruction, not data, even though it came from the same main memory as data does.
Data just read (0)
Read from main memory, and it is a value the program is working with.
Where the line is: It is coming in from main memory. If it is on its way out to be stored, it belongs in the next box.
Data waiting to be written (0)
A value the CPU wants to store, not yet in main memory.
Where the line is: It is going out to main memory. If it was just read in, it belongs in the box above.
Predict, then check
Three transfers happen one after another. Commit to an answer before you look.
The CPU reads the number 17 from main memory. Then it writes the number 63 to main memory. Then it reads the number 5 from main memory. When that last read has arrived, what does the MDR hold?
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
The tiny box inside the CPU where whatever is travelling to or from main memory waits its turn.
What you need to know
- The memory data register, or MDR, is a register: a small, very fast storage location inside the CPU.
- When the CPU reads from main memory, the item it fetches is held in the MDR.
- Going the other way, data waiting to be written to main memory is held in the MDR too.
Have a goThe CPU has a result and wants it saved to main memory. Before it is stored, where does it wait inside the CPU?
In the MDR.
The MDR is not only for reads. It also holds data waiting to be written to main memory.
- The MDR holds the actual contents being transferred, never a memory address.
Have a goSam says confidently: "The MDR is where the CPU keeps the address 4096 so it knows where to look." Fix Sam's sentence with one change.
Swap the address for the contents: it holds the item found there, not 4096.
Sam is describing where to look. The MDR holds what was found, the data or instruction itself.
- A Von Neumann processor keeps data and instructions in the same main memory, so the MDR can hold either one.
Have a goA Von Neumann processor fetches the instruction ADD 5, then loads the data value 42. Can the same MDR hold both, one after the other?
Yes, because both come from the same main memory.
The MDR is not tied to one kind of item. It holds whatever is transferred, instruction or data.
- The MDR is a buffer between the CPU and main memory: anything passing between them is held there on the way.
- Each new transfer replaces the value the MDR held before, so it shows the most recent item.
The big picture
The memory data register (MDR) is a small, very fast register inside the CPU. It temporarily holds the actual item, an instruction or data, that is travelling between the CPU and main memory, in either direction. It holds contents, not addresses, and each new transfer replaces whatever it held before.
Key points
Worked example
Problem
The CPU needs the number stored at address 600 in main memory. Address 600 holds the value 15. Which of 600 and 15 ends up in the MDR, and why?
⚠ Watch out
Saying the MDR holds a memory address. It holds the contents being transferred, which is the instruction or the data itself. Check every answer for 'address' and ask: is this where it is, or what it is?
Memory hook
Think of the MDR as a loading bay: whatever is moving in or out stops there for a moment, and the next delivery takes its place.
Check yourself
Without looking back: what are the two directions the MDR works in, and what does it never hold?
Flashcards
(10)What is the MDR?
What does the MDR hold after a read from main memory?
What does the MDR hold on the way out to main memory?
Does the MDR hold an address or the contents?
Why can the MDR hold an instruction one moment and data the next?
In what sense is the MDR a buffer?
What happens to the MDR's value when a new transfer happens?
Is the MDR inside the CPU or part of main memory?
Which register is the contrast: the one that holds an address?
Name three things the MDR might hold at different moments.
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore Eduqas GCSE Computer Science topics
How this lesson was checked. This Eduqas GCSE Computer Science (specification C500QS)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 16 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.