The Fetch Execute Cycle Flashcards

1
Q

Fetch-execute cycle

A

A continual sequence of tasks that results in instructions being fetched from main memory, decoded so that the CPU knows what do with them, and then executes them
Cycle happens many millions of times per second in a modern PC

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

Fetch section

A

Clock pulses. Processor can only begin a task as the clock pulses
The of the registers contains the location where the next instruction is to be found, register usually called the program counter
The location (or an address) is transmitted along the address of the memory
Memory responds by sending the content of that address along the data bus, back to processor. An instruction being transmitted is called the instruction register

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

Decode section

A

The instruction is read by CU, which prepares the registers for whatever data theywill be stroing
Nature of preparation depends on what the instruction was

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

Execute section

A

Instruction is carried out
Can be to retrieve piece of data, perform some operation that is already in a register, store something currently in register
The program counter is updated because the current instruction has been executed
Cycle starts again

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