Step-by-Step Lesson

Learn: MAR - Storing the Address

OCR GCSE J277 Computer Science specification

Ready to start this lesson?

Sign in to track your progress. 13 steps including 7 interactive questions.

Sign In to Start Learning
13 Steps7 Questions

Students also studied

Browse all

Steps in this lesson (13)

1
Text

Welcome!You've already learned about the fetch-decode-execute cycle and the role of registers. Today, we'll focus on the Memory Address Register (MAR) and its key role in storing memory addresses during the fetch-execute process.

2
Text

What is the MAR?The Memory Address Register (MAR) is a register inside the CPU. It holds the memory address of the data or instruction that the CPU needs to access.This address is sent to main memory to fetch data or instructions during the fetch-decode-execute cycle. Without the MAR, the CPU wouldn't know where to look in memory!

3
Text

How Does the MAR Work?When the CPU needs an instruction or data, the memory address of that item is stored in the MAR. This address is then sent to the memory to retrieve the required information.For example, during the fetch stage, the MAR stores the address of the next instruction to be fetched. This is crucial for the CPU to operate efficiently and correctly.

4
Multiple ChoiceInteractive

What does the MAR store?

Start the lesson to answer this multiple choice question

5
Text

Why Is the MAR Important?Without the MAR, the CPU would not be able to locate data or instructions in memory. The MAR ensures that the CPU can fetch the correct information efficiently.It works seamlessly with other registers, such as the MDR (Memory Data Register), which holds the actual data being transferred to or from memory.

6
Fill in the BlankInteractive

The {{blank0}} register holds the {{blank1}} of the data or instruction to be accessed.

Start the lesson to answer this fill in the blank question

7
Text

How the MAR Fits into the Fetch-Execute CycleDuring the fetch stage, the Program Counter (PC) sends the address of the next instruction to the MAR. The MAR then communicates with the memory to retrieve the instruction or data from that address.This process ensures that the CPU gets the correct data or instructions in the right order.

8
MatchingInteractive

Match the items on the left with their correct pairs on the right

Start the lesson to answer this matching question

9
Text

Review Time!Great work! You've learned about the MAR, its role in storing memory addresses, and how it fits into the fetch-execute cycle. Let's test your understanding with a few questions.

10
Multi-SelectInteractive

Which of the following are true about the MAR? (Select all that apply)

Start the lesson to answer this multi-select question

11
Fill in the BlankInteractive

During the fetch stage, the MAR gets its address from the {{blank0}}.

Start the lesson to answer this fill in the blank question

12
Multiple ChoiceInteractive

What happens if the MAR stores the wrong address?

Start the lesson to answer this multiple choice question

13
MatchingInteractive

Match the items on the left with their correct pairs on the right

Start the lesson to answer this matching question

Genie

Want to Learn More?

Get personalised lessons, quizzes, and instant feedback from your AI tutor.

Explore More Topics