OCR GCSE (J277) 1.1 The Purpose of The CPU - The Fetch-Decode-Execute Cycle
OCR GCSE (J277) 1.1 The Purpose of The CPU - The Fetch-Decode-Execute Cycle
What is a computer?
INPUT
What is a computer?
INPUT PROCESS
What is a computer?
An electronic device that takes input… processes data… and delivers output.
SLR1.1 Systems architecture| The purpose of the CPU: The fetch-decode-execute cycle OCR GCSE (J277)
What is a computer?
INPUT
PROCESS OUTPUT
5
An electronic device that takes input… processes data… and delivers output.
SLR1.1 Systems architecture| The purpose of the CPU: The fetch-decode-execute cycle OCR GCSE (J277)
What is a computer?
INPUT PROCESS
OUTPUT
5 Multiply by 2
An electronic device that takes input… processes data… and delivers output.
SLR1.1 Systems architecture| The purpose of the CPU: The fetch-decode-execute cycle OCR GCSE (J277)
What is a computer?
An electronic device that takes input… processes data… and delivers output.
SLR1.1 Systems architecture| The purpose of the CPU: The fetch-decode-execute cycle OCR GCSE (J277)
What is a computer?
What is a computer?
What is a computer?
What is a computer?
MEMORY
SLR1.1 Systems architecture| The purpose of the CPU: The fetch-decode-execute cycle OCR GCSE (J277)
CPU
MEMORY
SLR1.1 Systems architecture| The purpose of the CPU: The fetch-decode-execute cycle OCR GCSE (J277)
Execute Fetch
Decode
SLR1.1 Systems architecture| The purpose of the CPU: The fetch-decode-execute cycle OCR GCSE (J277)
Decode
SLR1.1 Systems architecture| The purpose of the CPU: The fetch-decode-execute cycle OCR GCSE (J277)
Decode
SLR1.1 Systems architecture| The purpose of the CPU: The fetch-decode-execute cycle OCR GCSE (J277)
Decode
SLR1.1 Systems architecture| The purpose of the CPU: The fetch-decode-execute cycle OCR GCSE (J277)
Clock speed
3Ghz processor = 3 billion cycles
per second.
Decode
SLR1.1 Systems architecture| The purpose of the CPU: The fetch-decode-execute cycle OCR GCSE (J277)
Fetch
• Fetch the next instruction from main memory (RAM).
• Bring it back into the CPU.
Decode
• Inspect the instruction to find out what needs to be done.
Execute
• Carry out the instruction, which could be:
o Going back to main memory and fetching data.
o Performing a calculation.
o Storing information back in main memory.