1.1.1 - Architecture of the CPU Flashcards

1
Q

What is the purpose of a CPU?

A

A Central Processing Unit (aka processor) has the purpose of fetch, decode and execute instructions.

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-Decode-Execute cycle?

A

Fetch - Instruction is fetched from main memory (RAM)
Decode - Instruction is decoded, to figure out what needs to be done.
Execute - Instruction is performed and carried out.

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

What does the CPU consist of?

A

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

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

Arithmetic Logic Unit (ALU)

A

Responsible for carrying out arithmetic calculations and making logical decisions.

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

Control Unit (CU)

A

Sends signals to control how much data moves around the CPU.

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

Cache

A

Small of very fast memory which provides fast access to frequently used data and instructions.

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

Registers

A

Tiny, super fast pieces of onboard memory inside the CPU, where each has a very specific purpose.

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

What are the 4 main registers in the Von Neumann architecture?

A

MAR (Memory Address Register),
MDR (Memory Data Register),
Program Counter (PC),
Accumulator.

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

MAR (Memory Address Register)

A

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

MDR (Memory Data Register)

A

Holds any data fetched from memory, or is about to be written to memory.

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

Program Counter (PC)

A

Holds the address of the next instruction in memory.

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

Accumulator (ACC)

A

Holds the result of calculations.

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