Fetch Decode Execute Cycle Flashcards

1
Q

Describe the fetch, decode, execute cycle

A
  • cpu fetches instruction from memory addr
  • control unit decodes op code
  • cpu executes instruction
  • cpu updates system & registers based on the instruction executed
  • program counter points to next instruction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is cache memory and how does it contribute to performance?

A

Cache memory is the smallest of the memory hierarchy, living close to the CPU to provide access to frequently requires instructions or data. This is performant as it reduces the need to perform the whole fetch decode cycle from other memory locations.

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