GCSE · Computer Science · OCR · Spec J277

Program Counter

Lost your place in a book? A bookmark marks where you read next, not the story itself. The CPU has one too: the program counter.

Computer Science · The CPU

Watch the bookmark move

Two fetches, one register. Step through and keep your eye on the PC.

Keep your eye on the PC: what will it hold once this fetch is over?

Phase: Fetch 1 · start

PC

40

MAR

—

Control bus

—

Output

 

Step 1: The PC holds 40. That's an address: the next instruction the CPU needs to fetch is the one stored at address 40. The PC doesn't hold the instruction itself.

1 / 7

Press Next to step through. A dash means the page isn't showing a value in that box yet.

Step 1 of 7: The PC holds 40. That's an address: the next instruction the CPU needs to fetch is the one stored at address 40. The PC doesn't hold the instruction itself..

Make the call

New number, same journey. Commit first, then see what happens.

The PC holds 52 at the start of a fetch. The fetch is done and the control unit's signal has reached the PC. What does the PC hold now?

Check your thinking

What does the PC actually hold?

Three pupils are asked what the program counter holds.

Which one is closest to what you think right now?
How sure are you?

Your turn

Describe it like an exam answer

Describe the role of the program counter in the fetch stage. [3 marks]

0 words · your answer stays on this page and is not sent anywhere.

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

The CPU's bookmark: it always knows which instruction to fetch next.

What you need to know

  • The program counter, or PC, is one of the registers inside the CPU.
  • Other registers you'll meet include the MDR, MAR, CIR and the accumulator.
  • The PC holds the memory address of the next instruction the CPU needs to fetch.
  • Have a goThe PC holds 7. Which instruction is the CPU about to fetch?

    The one stored at address 7.

    The PC holds an address, so it tells the CPU where the next instruction is, not what that instruction says.

  • It holds an address, not the instruction itself, and it doesn't count how many instructions there are.
  • Have a goYour friend swears the PC counts how many instructions a program has. Politely ruin their day: what does it hold instead?

    The memory address of the next instruction to fetch.

    'Counter' is a tempting name, but the PC holds an address, not a total.

  • In the fetch stage, the address held in the PC is copied to the memory address register (MAR).
  • Copied means the PC still holds that address straight afterwards.
  • Have a goA fetch starts with the PC holding 15, and that address is copied to the MAR. What do the PC and the MAR hold straight afterwards?

    Both hold 15.

    Copied isn't moved: the PC keeps its address and the MAR gets a copy.

  • After the fetch, the control unit sends an instruction to the PC on the control bus: increase by one.
  • So the PC now points to the next instruction in sequence.

The big picture

The program counter (PC) is a register inside the CPU. It holds the memory address of the next instruction the CPU needs to fetch. In the fetch stage that address is copied to the memory address register (MAR). After the fetch, the control unit sends an instruction to the PC on the control bus to increase by one, so the PC points to the next instruction in sequence.

Key points

1The PC is a register inside the CPU that holds the memory address of the next instruction the CPU needs to fetch.
2It holds an address: not the instruction itself, and not a count of the instructions in the program.
3In the fetch stage, the address held in the PC is copied to the MAR.
4After the fetch, the control unit sends an instruction to the PC on the control bus to increase by one, so it points to the next instruction in sequence.

Worked example

Problem

Practice question: The PC holds 90 when the first of two fetches starts. Write down what the MAR holds in each fetch, and what the PC holds once the second fetch is finished.

⚠ Watch out

Thinking the PC holds the instruction itself, or counts the instructions in the program, because of the word 'counter'. It holds the memory address of the next instruction to fetch.

🧠

Memory hook

Bookmark, not the page: the PC holds where to read next, and it moves on by one after every fetch.

✓

Check yourself

The PC holds 7 at the start of a fetch. In your own words, say what happens to that 7 during the fetch stage, and what the PC points to afterwards.

Flashcards

(6)
What is the program counter (PC)?
A register inside the CPU that holds the memory address of the next instruction the CPU needs to fetch.
Which other registers are named alongside the PC?
The MDR, MAR, CIR and the accumulator, among others.
Why is 'counter' a slightly misleading name?
The PC doesn't count the instructions in a program. It holds the memory address of the next instruction to fetch.
In the fetch stage, where is the address held in the PC copied to?
The memory address register (MAR).
Who tells the PC to increase by one, and how?
The control unit sends an instruction to the PC on the control bus.
After it increases by one, what does the PC point to?
The next instruction in sequence.

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 posted

More OCR GCSE Computer Science topics

See the full OCR Computer Science curriculum →

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.