HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Problems
  2. /At the start of a cycle the program counter holds 40…
EasyComputer ScienceHigh School (9–10)Computer Science › Computer HardwareNumericalIGCSE

At the start of a cycle the program counter holds 40…

StemPy LabContributed by StemPy Lab

Try it on paper first. A hint, the key idea and the worked solution are here when you need them.

At the start of a cycle the program counter holds 40. Address 40 holds the instruction LOAD 55, and address 55 holds the value 18.

Find the value in the PC at the end of the fetch stage. Then find the value in the MAR during the execute stage, and the value in the ACC at the end of the cycle.

Check your answer

Work it out on paper, then type your number. The answer itself stays hidden.

Need a reminder? The key ideaShowHide

Fetch: the PC is copied to the MAR and the address goes along the address bus. The instruction comes back along the data bus to the MDR. It is copied to the CIR and the PC is incremented. Decode: the CU decodes the instruction in the CIR. Execute: the instruction is carried out. The MAR and MDR are used for any data, the ALU for any calculation and the ACC for the result.

The worked solution

Have you tried it?

Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.

Step 1. Fetch. The PC value 404040 is copied to the MAR. The instruction LOAD 55 comes along the data bus to the MDR and is copied to the CIR. The PC is incremented to 414141.

Step 2. Decode. The control unit finds that it must load the value at address 55.

Step 3. Execute. The address 555555 is put into the MAR. The value 181818 comes along the data bus to the MDR, and it is copied into the ACC.

Answer: the PC holds 41, the MAR holds 55 in the execute stage, and the ACC holds 18.

Watch out. In this one cycle the MAR held 40 and then 55. It always holds the address that is about to be used.

Log in to save this for later
← All Problems
← A CPU is about to write the value 12 into memory address 45…An examination question asks you to describe the fetch stage of the fetch-decode-execute cycle… →
More onComputer Science › Computer Hardware

Discussion (0)

Log in to join the discussion.

Loading…

More on this topic

  1. A family's home network has a laptop, two phones, a games console and a printer…Hard
  2. A network tool shows the IPv4 address of a laptop in binary: 11000000.10101000.00000001.00101101…Medium
  3. A printer's network interface card has the MAC address 00:1A:2B:3C:4D:5E…Easy
  4. A small design company has five staff. Two of them often work from home…Hard
  5. A music shop sells old songs on CD and keeps its sales records on a hard disk drive…Medium
All problems on this topic →