Structure and function of the processor - paper 1 Flashcards

1
Q

What does the ALU do?

A

Completes all of the arithmetic and logical operations

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

What is the purpose of the control unit?

A

Directs the operations of the CPU such as:
Controlling and coordinating the activities of the CPU
Managing the flow of data between the CPU and other devices

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

What is a register?

A

Small memory cells that operate at very high speeds, also store data and all arithmetic, logical and shift operations

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

What are 5 different registers?

A

Program counter, accumulator, MAR, MDR, CIR

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

What does the program counter do?

A

Holds the address of the next instruction to be executed

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

What does the accumulator do?

A

Stores the results from calculations

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

What does the MAR do?

A

Holds the address of a location that is to be read or written to

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

What does the MDR do?

A

Temporarily stores data that has been read or data that needs to be written.

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

What does the current instruction register do?

A

Holds the current instruction being executed, divided up into operand and opcode.

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

What is a bus?

A

A set of parallel wires that connect two or more components inside the CPU

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

What are the three different busses in the CPU?

A

Data bus, control bus and address bus

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

What does the data bus do?

A

It is bi directional bus for transporting data and instructions.

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

What does the address bus do?

A

Used to transmit the memory address specifying where the data is to be sent or retrieves from.
The width is the number of addressable memory locations

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

What does the control bus do?

A

This is a bi-directional bus. It is used to transmit signals between internal and external components

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

What is assembly language?

A

Between machine code and a high level language
Uses shortened versions of words such as ADD for addition

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

What is operand?

A

Contains the data or the address of the data of the instruction

17
Q

What is opcode?

A

The type of instruction to be executed

18
Q

What is pipelining?

A

The process of completing the fetch decode execute cycle of three separate instructions simultaneously.
While one instruction is being executed, another is decoded and another is fetched

19
Q

What happens in the fetch stage of the FDE cycle?

A

PC goes to MAR
Instruction at location copies to MDR
PC increased by 1
Value of MDR copied to CIR

20
Q

What happens in the decode phase of the FDE cycle?

A

Contents of the CIR are split into operand and opcode

21
Q

What happens in the execute phase of the FDE cycle?

A

The decoded instruction is executed

22
Q

What 3 factors affect the CPU’s performance?

A

Clock speed, number of cores, amount and type of cache memory

23
Q

What are the features of Von Neumann architecture?

A

Shared memory and data bus used for both data and instructions

24
Q

What are the features of Harvard architecture?

A

2 separate memories - 1 for instructions and 1 for data.

25
Q

What are the advantages of Von Neumann architecture?

A

Cheaper to develop as the control unit is easier to design
Programs can be optimised in size

26
Q

What are the advantages of Harvard architecture?

A

Quicker execution as data and instructions can be fetches in parallel.
Memories can be different sizes which can be a more efficient use of space.

27
Q

What is contemporary processing?

A

A combination of Harvard and Von Neumann architecture. Von Neumann is used when working with data and instructions in main memory. Harvard is used to divide the cache into instruction cache and data cache.