1.1 Architecture of the CPU Flashcards

1
Q

Central processing unit (CPU)

A

The purpose of the CPU is to fetch decode and execute instructions.

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

FDE cycle

A

The FDE cycle is the cycle that the CPU runs billions of times per second. A computer takes an input and then delivers the output for the user.

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

Fetch stage

A

The address of the instruction that needs to be processed next is copied from the Program Counter (PC) to the Memory Address Register (MAR).
The PC is incremented to point to the next instruction that will be needed when the cycle starts again.
The instruction stored at the location held by the MAR is copied to the MDR.

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

Decode stage

A

The Control Unit decodes the instruction and sends control signals to the component within or outside the CPU that needs to act.

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

Execute stage

A

The operation indicated by the instruction is performed by the appropriate component.

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

Arithmetic logic unit (ALU)

A

Performs arithmetic operations and logical decisions.

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

Control unit (CU)

A

The Control Unit transmits control signals to other components of the CPU.
The Control Unit follows the fetch-decode-execute cycle to execute program instructions.
There are two main components of the Control Unit:
The clock, which coordinates the CPU’s activity.
The decoder, which decodes program instructions.

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

Cache

A

Very small, fast memory located in the CPU which is used to provide quick access to frequently used instructions and data.
It is closer to the CPU than RAM therefore faster than RAM.
The more cache there is the more data can be stored which speeds up the performance of the CPU.
It prevents the CPU from having to repeatedly fetch frequently used instructions from RAM.

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

Registers

A

Extremely small fast memory located in the CPU. Each register has its own purpose.
PC, MAR, MDR, ACC

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

Von Neumann architecture

A

The Von Neumann architecture is a design of the CPU. It outlines how the computer memory, input and output devices and processor all work together. The idea that the programme instruction and the data required are both stored in the same memory.

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

Program counter (PC)

A

Holds the memory address of the next instruction to be executed. Increments by 1 as the FDE cycle runs.

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

Memory address register (MAR)

A

Holds the memory address of the current instruction to be executed and the address of the data to be fetched.

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

Memory data register (MDR)

A

Stores the data or actual instruction which has been fetched from memory.

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

Accumulator (ACC)

A

Temporarily stores the result of any calculations that have taken place in the ALU.

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