1.1.1 Flashcards

1
Q

ALU

A

arithmetic and logic unit - “problem solver” part of the processor that performs arithmetic, logical and shift operations on data - temporarily stores results in the ACC

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

CU

A

control unit - coordinates the data flow of all the components of the processor - Decodes instructions - Controls buses

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

PC

A

needed to store the address of the next instruction (to be processed) - Value is then sent to the MAR - After sending the value the PC is incremented / changed to address held in CIR if the operation is a Jump

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

ACC

A

Temporary storage for data being processed / during calculations used as a buffer

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

MAR

A

Memory Address Register - Contains the address of the instruction (to be accessed in memory) sent from PC - Contains the address of the data (to be accessed in memory) sent from CIR

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

MDR

A

Memory Data Register - Contains the instruction which has been accessed from memory - Contains the data which has been accessed from memory - That is referenced by the MAR / Instruction sent to CIR - acts as a buffer

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

CIR

A

Current Instruction Register - holds current instruction split into opcode + operand

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

Registers

5 register in the CPU

A

PC
ACC
MAR
MDR
CIR

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

buses

3 types and definition

A

data
address
control
a series of connectors that transfer signals between internal components - The system bus consists of 3 separate buses carrying Control Signals

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

3 Factors affecting CPU performance

A

Clock speed
Number of cores
Amount/type of cache

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

clock speed affects on CPU

A

only 1 FDE cycle is executed per clock ‘pulse’ - faster clock faster execution - too fast and your computer will not work

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

number of cores affects on CPU

A

Use multiple processor cores at the same time each one working on different parts BUT some instructions are processed sequentially SO it’s not always possible

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

amount / type of cache affects on CPU

A

it is super fast but very expensive

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

control bus

A

transmits control signals from the CU to other components of the processor

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

address bus

A

carries the location address (register) where the data is going (to or from)

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

data bus

A

bi-directional - carries the data (from one place to another)

17
Q

pipelining

A

a technique used to improve performance by overlapping stages in the f-d-e or breaking down stages in an arithmetic instruction - Reduces latency because CPU is not idle while waiting for next instruction - All parts of the CPU can be used at once

P1 = F D E F
P2 = D E F D
P3 = E F D E

18
Q

von neueman architecture

A

Shared memory space for instructions & data
Instructions and data are stored in the same format
A single CU or processor follows a linear fde cycle
One instruction at a time
Registers are used as fast access to instructions/data

19
Q

harvard architecture

A

Instructions and data stored in separate memory units
Each has its own bus
Reading and writing data can be done at the same time as fetching an instruction
Used by RISC processors

20
Q

contemporary architecture

A

SIMD - Single Instruction Multiple Data
Parallel processing is where a processor carries out a single instruction on multiple data items at the same time – often used by graphic processors
MIMD - Multiple Instructions Multiple Data
Another version where multiple instructions are carried on multiple data items across several cores
Distributed computing
Where multiple computers on a shared network each take on part of a bigger problem – this can be done on a grand scale over the internet

21
Q

FDE

A

Fetch Decode Execute cycle - carries out all program instructions The process is repeated for every instruction

22
Q

FDE - Fetch

A

The address of the next instruction is copied from the PC to the MAR
The instruction held at that address is copied to the MDR
Simultaneously, the contents of the PC are incremented
The contents of the MDR are copied to the CIR

23
Q

FDE - Decode

A

The instruction held in the CIR is decoded
Split into “operand” & “opcode” additional data (if required) is fetched from memory
And passed to the acc and with the instruction in the CIR, the CU can work out what needs to be done to carry it out

24
Q

FDE - Execute

A

The instruction is executed and the result held in accumulator or stored in memory

25
Q

CPU

A

The ‘brains’ of a computer responsible for the FDE cycle has different components that each have a role to do