Fetch Decode Execute
Fetch Decode Execute
1 – Systems Architecture
Nabil Saheb
September 2022
Fetch-Decode-Execute
• Inside the CPU is a clock. Every time the clock
‘ticks’, a single instruction can be processed.
• Now this may not sound like a lot but the CPU
can process billions of instructions per second.
accumulator
CCPPUU
M
M
t D
e
RRAAMxecu DRR
M
e
r o l e c u t
CCont l
o n t r o e xe
ra m
m
i
uunnitt o gr a r i nnssttrruction
ro g
Pr ntte er i u ct i on
P un
o u
cco M addr
MAARR es s
u t e o n t r o l
c C
exe ffeettcchh
unit
Learning Objectives
• By the end of this lesson you will:
• Extension task
• Write a definition for one of the terms
• To process an instruction, the CPU will go
through the ‘fetch-decode-execute cycle’ –
every single time!
• Software (programs) provide the CPU with
instructions, telling it what to do next.
• The software is loaded, by the operating
system, into main memory (RAM)
Fetch
• The ALU will read the original value of the accumulator. Then it
will process the instruction i.e. ADD #5.