1.1 Fetch-decode-execute cycle 1 Flashcards

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

fetch

A

instructions and data are tranferred from the RAM to the CPU

-program instructions and data are stored in random access memory (RAM)

  • the CPU sends a signal to the RAM requesting the next instruction to be executed
  • the instruction is sent from the RAM to the CPU
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

how does data move between the RAM and the CPU?

A

data bus from RAM to CPU

address bus from CPU to RAM

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

decode and execute

A

instructions are interpreted and carried out

  • program instructions/data from RAM enter the CU (within the CPU)
  • the CU decodes the instruction and executes it
  • if a calculation needs to be done the ALU is instructed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

State what is done at each stage of the fetch-decode-execute cycle [3]

A

fetch: the next instruction to be executed is transferred from the RAM to the CPU
decode: the CU interprets the instruction

execute: the CU carries out the instruction
it instructs the ALU if calculations need to be performed

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

Explain how program instructions stored in computer memory are processed by the central processing unit [3]

A

during the ‘fetch’ phrase of the fetch-decode-execute cycle, the CPU sends a signal to the main computer memory requesting the next instruction to be executed

this instruction is decoded or interpreted by the CU and executed - carried out

if calculations are required, these are carried out by the ALU

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