0% found this document useful (0 votes)
16 views20 pages

GCSE AQA SLR1 The Fetch-Execute Cycle

Uploaded by

j.singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views20 pages

GCSE AQA SLR1 The Fetch-Execute Cycle

Uploaded by

j.singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 20

AQA GCSE

SLR1 Systems architecture (8525)

The fetch-execute cycle

Teacher site: craigndave.org | Student site: student.craigndave.org | Smart revise: smartrevise.co.uk


SLR1 Systems architecture| The fetch-execute cycle AQA GCSE (8252)

What is a computer?

INPUT

“An electronic device which takes input…


SLR1 Systems architecture| The fetch-execute cycle AQA GCSE (8252)

What is a computer?

INPUT PROCESS

“An electronic device which takes input, processes data…


SLR1 Systems architecture| The fetch-execute cycle AQA GCSE (8252)

What is a computer?

INPUT PROCESS OUTPUT

“An electronic device which takes input, processes data, and delivers output”
SLR1 Systems architecture| The fetch-execute cycle AQA GCSE (8252)

What is a computer?

INPUT
PROCESS OUTPUT
5

“An electronic device which takes input, processes data, and delivers output”
SLR1 Systems architecture| The fetch-execute cycle AQA GCSE (8252)

What is a computer?

INPUT PROCESS
OUTPUT
5 Multiply by 2

“An electronic device which takes input, processes data, and delivers output”
SLR1 Systems architecture| The fetch-execute cycle AQA GCSE (8252)

What is a computer?

INPUT PROCESS OUTPUT


5 Multiply by 2 10

“An electronic device which takes input, processes data, and delivers output”
SLR1 Systems architecture| The fetch-execute cycle AQA GCSE (8252)

What is a computer?

INPUT PROCESS OUTPUT


SLR1 Systems architecture| The fetch-execute cycle AQA GCSE (8252)

What is a computer?

INPUT PROCESS OUTPUT


SLR1 Systems architecture| The fetch-execute cycle AQA GCSE (8252)

What is a computer?

INPUT PROCESS OUTPUT


SLR1 Systems architecture| The fetch-execute cycle AQA GCSE (8252)

What is a computer?

INPUT PROCESS OUTPUT

In order to do this computers follow a set of instructions known as a


computer program.
SLR1 Systems architecture| The fetch-execute cycle AQA GCSE (8252)
SLR1 Systems architecture| The fetch-execute cycle AQA GCSE (8252)

MEMORY
SLR1 Systems architecture| The fetch-execute cycle AQA GCSE (8252)

CPU

MEMORY
SLR1 Systems architecture| The fetch-execute cycle AQA GCSE (8252)

Execute Fetch

Decode
SLR1 Systems architecture| The fetch-execute cycle AQA GCSE (8252)

The Fetch-Decode-Execute cycle


Fetch stage:
• Fetch the next instruction from
main memory (RAM)
Execute Fetch • Bring it back into the CPU

Decode
SLR1 Systems architecture| The fetch-execute cycle AQA GCSE (8252)

The Fetch-Decode-Execute cycle


Decode stage:
• Inspect the instruction and
work out what it is that needs
Execute Fetch doing

Decode
SLR1 Systems architecture| The fetch-execute cycle AQA GCSE (8252)

The Fetch-Decode-Execute cycle


Execute stage:
• Carry out the instruction
• This could cover many things
Execute Fetch such as:
• Going back to main
memory and grabbing
some data
• Performing a calculation
• Storing information back
into main memory

Decode
SLR1 Systems architecture| The fetch-execute cycle AQA GCSE (8252)

The Fetch-Decode-Execute cycle

On a modern CPU this fetch-


execute cycle occurs billions of
Execute Fetch times per second.

Clock speed:
3Ghz processor = 3 billion cycles
per second

Decode
SLR1 Systems architecture| The fetch-execute cycle AQA GCSE (8252)

• A computer is an electronic device which:


• takes input;
• processes data;
• and delivers output.
•The purpose of the CPU is to fetch, decode and execute instructions.
•It does this by:
• Fetch
• Fetching the next instruction from main memory (RAM).
• Brings the instruction back into the CPU.
• Decode
• Inspects the instruction and works out what it is that needs doing.
• Execute
• Carries out the instruction.
• This could cover many things such as:
• Going back to main memory and grabbing some data;
• Performing a calculation;
• Storing information back into main memory.

You might also like