3.2 The Fetch, Decode and Execute Stages Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is the funtion of the RAM?

A

All inputs are stored in the RAM. Data that needs to be accessed from secondary storage is fetched into the RAM which can be directly accessed by the CPU.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What components are used during the fetch stage?

A
  • RAM
  • PC
  • MAR
  • MDR
  • CU
  • CIR
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What happens during the fetch stage?

A
  • Input is made and instruction stored in RAM.
  • Address of next instruction to be processed stored in PC.
  • Address in PC copied to MAR via address bus.
  • Address copied into RAM via address bus and data is located within the RAM.
  • Data is copied to MDR via data bus.
  • Data is copied to CIR via data bus.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What happens during the Decode stage?

A
  • The data is held in the CIR which is located inside the CU.
  • The CU reads and decodes the data into a predetermined instruction set that is processable by the ALU.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What happens during the Execute stage?

A
  • The ALU computes any mathmatical and logical calculations.
  • Output is made.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly