The Fetch-decode-execute cycle -page 3 (and 4)

?
  • Created by: emj790
  • Created on: 20-01-18 15:37
How does the CPU use the fetch-decode-execute cycle?
It uses the cycle to carry out the program instructions
1 of 21
What happens during the the fetch stage?
Instructions and data are transferred from the RAM to the CPU
2 of 21
What is stored in the RAM?
Program instructions and data
3 of 21
What does the CPU send (in the fetch stage)?
A signal
4 of 21
Where does it send the signal to? Using what bus?
To the RAM using the address bus
5 of 21
Where is the instruction sent next? Using what bus?
To the CPU using the data bus
6 of 21
Where are the next stages carried out?
In the CPU
7 of 21
What parts of the CPU? (2)
The CU and the ALU
8 of 21
What stage then starts?
The decode stage
9 of 21
What happens during this stage?
The instructions are interpreted
10 of 21
What does it mean to decode an instruction?
It decides what it means
11 of 21
What part of the CPU decodes the instruction?
The control unit
12 of 21
What stage then starts?
The execute stage
13 of 21
What happens during this stage?
The instructions are carried out
14 of 21
What does it mean to execute an instruction?
To carry it out
15 of 21
What part of the CPU executes the instruction?
The control unit
16 of 21
What if a calculation need to be performed?
It instructs the ALU which carries out the calculation
17 of 21
What is the role of the program counter in the fetch-decode-execute cycle?
It holds the memory address of the next instruction to be processed
18 of 21
What is the role of the MDR in the fetch-decode-execute cycle?
It holds an instruction or data that has been fetched from the memory before it is used
19 of 21
What is the role of the MAR in the fetch-decode-execute cycle?
It holds the address of the memory location currently being read (fetched) or written to
20 of 21
What is the role of the accumulator in the fetch-decode-execute cycle?
It stores the results of calculations carried out by the ALU
21 of 21

Other cards in this set

Card 2

Front

What happens during the the fetch stage?

Back

Instructions and data are transferred from the RAM to the CPU

Card 3

Front

What is stored in the RAM?

Back

Preview of the front of card 3

Card 4

Front

What does the CPU send (in the fetch stage)?

Back

Preview of the front of card 4

Card 5

Front

Where does it send the signal to? Using what bus?

Back

Preview of the front of card 5
View more cards

Comments

No comments have yet been made

Similar Computing resources:

See all Computing resources »See all Computer systems resources »