Architecture of the CPU * Flashcards

1
Q

What are the three stages of the fetch-execute cycle?

A

Fetch
Decode
Execute

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

What happens at each stage of the fetch execute cycle?

A

Fetch - fetches next instruction from main memory CPU
Brings instructions back

Decode - inspects instructions and works out what needs to be done

Execute - carries out the instruction

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

List the four common CPU components

A

ALU (Arithmetic Logic Unit)
CU (Control Unit)
Cache
Registers

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

What is the ALU?

A

(Arithmetic Logic Unit)
Performs calculations and logical decisions

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

What is the CU?

A

(Control Unit)
Sends signals to control how data moves around the CPU

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

What is cache?

A

Provides fast access to frequently used instructions and data

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

What are registers?

A

tiny, super fast pieces of onboard memory inside the CPU, each with a very specific purpose

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

What does Von Neumann architecture consist of?

A

CU, ALU, memory unit (usually RAM), inputs and outputs

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

What does the register Program Counter (PC) do?

A

it holds the address of the next instruction in memory

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

What does the Memory Address Register (MAR) do?

A

it holds the address of where data is to be fetched or stored

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

What does the Memory Data Register (MDR) do?

A

it holds the data fetched from, or to be written to memory

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

What does the accumulator do?

A

it holds the results of calculations

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