GCSE · Computer Science · OCR · Spec J277
MAR (Memory Address Register)
A letter with no address goes nowhere. The CPU has a register that holds one. Watch where it comes from.
Computer Science · The CPU
Follow the address
Step through a fetch stage and then an execute stage. The values are made up for the lesson, and a dash just means that box isn't part of this step.
Where does the MAR's address come from in each stage, and where does it go?
Phase: Fetch stage begins
PC
120
Address in decoded instruction
—
MAR
—
Address bus
—
Main memory
—
Output
Step 1: The PC holds the address of the next instruction. Here it is 120. Keep pressing Next and watch what happens to that address.
Press Next and watch which box lights up.
Predict, then check
Commit to an answer first.
The address 120 has just been copied from the PC to the MAR. What is the MAR holding now?
Computer Science · Structure
Where the MAR sits
Tap each part to see its job. Only the address bus is drawn out to main memory.
Tap any part of the diagram to see what it does.
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
The CPU register that says where to look in memory, not what's there.
What you need to know
- Registers are very small, fast memory locations inside the CPU: the MAR, MDR, CIR, PC and the accumulator.
- The MAR is the memory address register. It stores memory addresses, used when searching for data in RAM.
Have a goYour mate says, "The MAR lives in RAM. It's got 'memory' in its name!" Where does it actually live?
Inside the CPU. It's one of the CPU's registers.
A register is a very small, fast memory location inside the CPU, and the MAR is one of them, so it is not a bit of RAM.
- Think of it as the address on an envelope. It says where to look, not what is there.
- In the fetch stage, the address of the next instruction, held in the program counter (PC), is copied to the MAR.
- The MAR then sends that address along the address bus to main memory.
- The address bus tells memory which specific location the CPU wants to access. That could be to fetch an instruction, or to read or write data.
Have a goMemory holds loads of locations. What does the address bus tell it?
Which specific location the CPU wants to access.
The address bus names the location, whether the CPU wants an instruction or wants to read or write data, so memory knows where to look.
- In the execute stage, the control unit updates the MAR with the address from the decoded instruction.
Have a goIn the fetch stage the MAR's address comes from the PC. In the execute stage, who puts an address into the MAR?
The control unit.
The control unit updates the MAR with the address from the decoded instruction, so the source of the address is different from fetch.
- The MAR sends that address along the address bus too, so memory can find the data stored there.
The big picture
The MAR (memory address register) is one of the CPU's registers, which are very small, fast memory locations inside the CPU. It stores memory addresses, used when searching for data in RAM. In the fetch stage, the address of the next instruction, held in the program counter (PC), is copied to the MAR. In the execute stage, the control unit updates the MAR with the address from the decoded instruction. Either way, the MAR sends the address along the address bus to main memory, which tells memory which specific location the CPU wants.
Key points
Worked example
Problem
A pupil's notes say: "In the execute stage, the MAR holds the data found at location 64." The decoded instruction holds the address 64. Correct the notes.
⚠ Watch out
Thinking the MAR holds the instruction or the data. It stores only the address, which tells memory where to look.
Memory hook
The PC knows what is next. The MAR is the one that actually asks memory for it, using an address, never the contents.
Check yourself
Cover the page. Which part supplies the MAR's address in the fetch stage, and which in the execute stage? (PC; control unit.)
Flashcards
(9)What does MAR stand for?
What is a register?
What does the MAR store?
Does the MAR hold the instruction or data itself?
In the fetch stage, where does the MAR's address come from?
Where does the MAR send its address?
What is the address bus used for?
Fetch stage: the PC supplies the MAR's address. Which part supplies it in the execute stage?
Name the five CPU registers.
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 OCR GCSE Computer Science topics
How this lesson was checked. This OCR GCSE Computer Science (specification J277)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 14 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.