1.1 CPU and embedded systems Flashcards

1
Q

Fetch stage

A

The CPU retrieves the next instruction from main memory (RAM) based on the address stored in the Program Counter (PC).
The PC increments to hold the memory address of the next instruction to be fetched.
The address in the PC is copied to the Memory Address Register (MAR).
The instruction is sent from the memory address (held in MAR) to the Memory Data Register (MDR).
The instruction is then transferred from the MDR to the Current Instruction Register (CIR).

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

Decode stage

A

The CU decodes the instruction

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

Execute stage

A

The CPU carries out the operation specified in the decoded instruction.
This may involve arithmetic calculations, data movement, or other actions.
The results of the execution are typically stored in the Accumulator (ACC) or another register.

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

Registers

A

Extremely small, extremely fast memory located in the CPU

Each register has its very own specific purpose

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

Things that aren’t registers

A

ALU
Cache
CU

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

ALU

A

Performs any arithemetic or logical calculations

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

CU

A

Coordinantes data. Controls the flow of data. Decodes instructions.

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

Cache

A

Very small and fast memory that stores frequently used data.
Prevents CPU from continuously having to fetch frequently used daya and instructions from RAM.
More cache

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

Accumulator

A

Stores the resuslt of calculations

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

MDR

A

Stores data fetched from memory

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

MAR

A

Holds address of where data is to be fetched from

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

PC

A

Holds address of next instruction

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

Clock speed

A

Number of FDE cycles per second (Hz)
The faster the clock speed, the more instructions can be fetched and executed per second

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

Cache size

A

Temporary storage for quick access to frequently used instructions.
Increased cache size means less data is fetched from RAM. This increased read and write speed.

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

Cores

A

Multiple processing units. Simultaneous FDE cycles. Speed depends on clock speed.

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

Embedded systems

A

Computer with a dedicated function
Within a larger system.
* Small
* Use less power
* Lower cost