Explore

Learn: What Registers Do (Big Picture)
OCR GCSE J277 Computer Science specification
Ready to start this lesson?
Sign in to track your progress. 15 steps including 7 interactive questions.
Sign In to Start LearningStudents also studied
Browse allSteps in this lesson (15)
Welcome!You've already learned about why the CPU is essential and the fetch-decode-execute cycle. Now, let's explore registers and understand their role in helping the CPU process instructions efficiently.
What Are Registers?Registers are small, fast storage locations inside the CPU. They temporarily hold data, instructions, or addresses during processing. They are vital for speeding up the execution of tasks since accessing data directly from main memory (RAM) is much slower.
Why Do We Need Registers?Registers allow the CPU to store and access data quickly, avoiding the delay caused by fetching data from RAM repeatedly. They ensure the CPU operates efficiently during the fetch-decode-execute cycle.
Key Registers and Their FunctionsThere are several types of registers in the CPU, each with a specific role in processing instructions:Memory Address Register (MAR): Holds the memory address of the instruction or data to be accessed next.Memory Data Register (MDR): Temporarily stores the data being transferred to or from memory.Program Counter (PC): Contains the address of the next instruction to be executed.Accumulator: Stores intermediate results of calculations performed by the Arithmetic Logic Unit (ALU).
Quick check: Which register holds the memory address of the next instruction?
Start the lesson to answer this multiple choice question
Memory Address Register (MAR) and Memory Data Register (MDR)The MAR stores the memory address of the data or instruction the CPU needs to access. The MDR temporarily holds the data fetched from memory or data ready to be written to memory. Together, they help the CPU interact with RAM efficiently.
The {{blank0}} register stores the {{blank1}} of the next instruction.
Start the lesson to answer this fill in the blank question
AccumulatorThe Accumulator is a register that stores intermediate results during arithmetic or logical operations performed by the ALU. For example, when adding two numbers, the result of the addition is stored in the accumulator for further use.
Match the items on the left with their correct pairs on the right
Start the lesson to answer this matching question
How Registers Work TogetherDuring the fetch-decode-execute cycle, registers work together to process instructions. The PC points to the next instruction's address, which is sent to the MAR. The MDR retrieves the instruction and sends it to the CU for decoding. The Accumulator stores results from operations performed by the ALU.
Review Time!Great work! You've learned about what registers are and their role in the CPU. Now let's review what we've learned with some questions.
Which of the following statements about registers are true? (Select all that apply)
Start the lesson to answer this multi-select question
The {{blank0}} register stores intermediate results from the {{blank1}}.
Start the lesson to answer this fill in the blank question
Which register temporarily stores data read from or written to memory?
Start the lesson to answer this multiple choice question
Match the items on the left with their correct pairs on the right
Start the lesson to answer this matching question

Want to Learn More?
Get personalised lessons, quizzes, and instant feedback from your AI tutor.
Explore More Topics