Explore

Learn: The Fetch-Decode-Execute Cycle
OCR H446 Computer Science Specification
Ready to start this lesson?
Sign in to track your progress. 14 steps including 7 interactive questions.
Sign In to Start LearningStudents also studied
Browse allSteps in this lesson (14)
Welcome!Welcome to today's lesson on The Fetch-Decode-Execute Cycle. This is an important process that all CPUs follow to execute instructions. Let's explore how it works step by step!
What is the Fetch-Decode-Execute Cycle?The Fetch-Decode-Execute Cycle is how a CPU processes instructions. It involves fetching an instruction from memory, decoding its meaning, and executing it. This cycle is repeated constantly while the computer is running, enabling it to perform tasks.
Step 1: FetchingThe fetch phase involves retrieving an instruction from memory. The Program Counter (PC) holds the address of the next instruction, which is sent to the Memory Address Register (MAR). Then, the instruction is fetched from memory and stored in the Memory Data Register (MDR).
Quick check: What does the Program Counter (PC) do?
Start the lesson to answer this multiple choice question
Step 2: DecodingThe decode phase involves interpreting the fetched instruction. The instruction is sent to the Current Instruction Register (CIR), where the Control Unit breaks it down to understand what needs to be done. This phase determines which operation the CPU should perform.
During decoding, the instruction is stored in the {{blank0}} register, and the {{blank1}} interprets it.
Start the lesson to answer this fill in the blank question
Step 3: ExecutingThe execute phase is where the CPU carries out the decoded instruction. This often involves the Arithmetic Logic Unit (ALU) for calculations or logical operations. The result is stored in a register, such as the Accumulator (ACC), and may affect other components like output devices.
Match the items on the left with their correct pairs on the right
Start the lesson to answer this matching question
CPU Performance FactorsThe speed of the Fetch-Decode-Execute Cycle depends on factors like clock speed, number of cores, and cache size. Higher clock speeds allow faster instruction processing, while multiple cores enable parallel processing.
Quick check: Which factor improves CPU performance by enabling multiple instructions to be processed at once?
Start the lesson to answer this multiple choice question
Review Time!Great work! You've learned how the Fetch-Decode-Execute Cycle works and the factors affecting CPU performance. Let's test your understanding with a few questions.
Which registers are involved in the Fetch phase? (Select all that apply)
Start the lesson to answer this multi-select question
The {{blank0}} unit performs calculations and logical operations during the Execute phase.
Start the lesson to answer this fill in the blank 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