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. /A program is stored from address 60. Address 70 holds 25 and address 71 holds 16…
HardComputer ScienceHigh School (9–10)Computer Science › Computer HardwareNumericalConceptualIGCSE

A program is stored from address 60. Address 70 holds 25 and address 71 holds 16…

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.

A program is stored from address 60. Address 70 holds 25 and address 71 holds 16. The PC holds 60 at the start.

  • Address 60: LOAD 70
  • Address 61: ADD 71
  • Address 62: STORE 70 (copy the ACC into address 70)
  • Address 63: STOP

The CPU runs the program until the STOP instruction has been fetched and decoded. Find the value at address 70 at the end, the value in the PC at the end, and how many times an address is put into the MAR.

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. The values. LOAD 70 puts 252525 in the ACC. ADD 71 makes it 25+16=4125 + 16 = 4125+16=41. STORE 70 writes 414141 over the old value at address 70.

Step 2. The PC. Four instructions are fetched, at addresses 60, 61, 62 and 63. Each fetch adds 1 to the PC, so it ends at 60+4=6460 + 4 = 6460+4=64.

Step 3. The MAR in the fetch stages. Each of the four fetches puts the instruction's address into the MAR: 60, 61, 62, 63. That is 4 times.

Step 4. The MAR in the execute stages. LOAD 70 puts 70 into the MAR, ADD 71 puts 71, and STORE 70 puts 70 again. STOP needs no memory. That is 3 more times.

Answer: address 70 holds 41, the PC holds 64, and the MAR is loaded 4+3=74 + 3 = 74+3=7 times.

Check. The program adds the two numbers and saves the sum where the first number was. The first number is lost, which is what STORE 70 means.

Log in to save this for later
← All Problems
← An examination question asks you to describe the fetch stage of the fetch-decode-execute cycle…A games console has a processor with a clock speed of 3.6 GHz… →
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 →