Program Counter (PC) - The Instruction Tracker

Test yourself on Program Counter & Accumulator with exam style questions, marked instantly.

Flashcards that come back just before you would forget them.

A revision plan that remembers what you know and shows what to do next.

See which topics you have nailed and which need another look.

Quiz yourself on Program Counter & AccumulatorGet your flashcardsBuild my revision planTrack my progress

Program Counter (PC) - The Instruction Tracker

What It Is:

The Program Counter is a special register that holds the memory address of the NEXT instruction to be fetched and executed. It's like a bookmark keeping your place in a book.

How It Works:

  • During FETCH: The address in PC is copied to the MAR
  • After FETCH: The PC automatically increments (adds 1) to point to the next sequential instruction
  • During branches: JUMP, BRANCH, or CALL instructions can change the PC to a different address (for loops, IF statements, functions)
  • On program start: PC is set to the address of the first instruction

Key Characteristics:

  • Holds an address (not data or instructions)
  • Increments during the FETCH stage of the FDE cycle
  • Size depends on the address bus width (e.g., 32-bit PC can address 2³² locations)
  • Essential for sequential execution and program flow control

Real-world analogy: Like line numbers in a script. An actor (CPU) reads line 5, performs the action, then automatically looks at line 6 next. Unless the script says "GOTO line 20" (a branch instruction), the actor continues sequentially.

Make this stick

Signing in gives access to all PrepWise features.

PrepWise is a trading name of A3M Quality Solutions Limited, registered in England and Wales, company number 14959172. Registered office: 202 Stroud Road, Gloucester, GL1 5LA. ICO registration ZC267069.