1.1.1 Structure and function of processor Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

ALU

A

The arithmetic logic unit carries out the arithmetic and logic operations

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

The control unit

A

it is a processor which coordinates the operations of the cpu, this includes managing the flow of data between the cpu and other devices, decoding instructions etc

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

what are registers

A

registers are small memory cells that operate at a very high speed. They are used to temporarily store data and all arithmetic, logical and shift operations occur in these registers.

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

program counter (pc)

A

holds the address of the next instructions to be executed.

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

Accumulator ( ACC )

A

stores the results from calculations

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

Memory address register ( MAR )

A

holds the address of the location that is to be read from or written to

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

memory data register (MDR)

A

temporarily stores data that has been read from or data that needs to be written

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

Current instruction register ( CIR )

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
9
Q

Data bus

A

This is a bi-directional bus used for transporting data and instructions between components

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

Address bus

A

transmits memory address of data to be sent to or retrieved from. The width of the address bus is proportional to the number of addressable memory locations

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

Control bus

A

a bi-directional bus used to transmit control signals between internal and external components

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

Assembly code

A

this is a simplified way of representing machine code, it uses mnemonics to represent instructions, for example ADD represents addition

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

operand

A

this contains the data or the address of the data which the operation is to be performed on

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

opcode

A

this specifies the type of instruction to be executed

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

The fetch-Decode-Execute cycle

A

The fetch-decode-execute cycle is the sequence of operations that are completed in order to executed an instruction

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

Fetch

A
  • address from the pc is copied to the MAR
  • Instructions held at that address is copied to MDR via the data bus
  • At the same time, the contents of the PC are increased by 1
  • The value held in the MDR is copied to the CIR
17
Q

Decode

A
  • The contents of the CIR are slit into operand and opcode

- It is the Decoded by the control unit

18
Q

Execute

A
  • The decoded instruction is then carried out
19
Q

Factors affecting CPU performance

A
  • Clock speed
  • Number of cores
  • Cache size and type
20
Q

How does clock speed affect CPU performance

A

The higher the clock speed the more instructions that can be executed per second

21
Q

how does the number of cores affect cpu performance

A

A computer with multiple cores can complete more than one FDE cycle at at any given time. a dual core processor could complete tasks twice as fast as a single core one. However, not all programs are able to utilise multiple cores efficiently

22
Q

how does cache size affect CPU performance

A

more information can be stored on the CPU’s onboard memory therefore more instructions can be accessed quicker

23
Q

Level 1 cache

A

-Very fast memory cells with a small capacity. (2-64KB)

24
Q

Level 2 Cache

A

Relatively fast memory cell, with medium sized capacity. (256KB-2MB)

25
Q

Level 3 Cache

A

Much larger and slower memory cell

26
Q

Von Neumann architecture

A
  • Has a single control unit and a single ALU
  • Works sequentially through instructions
  • Stores instructions and data together in the same memory unit
27
Q

Harvard architecture

A
  • It has physically separate memories for instructions and data, more commonly used with embedded processors.
  • each memory has its own set of buses
28
Q

Advantages of von Neumann architecture

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

Advantages of Harvard architecture

A
  • Quicker execution as data and instructions can be fetched in parallel.
  • Memories can be different sizes, which can make more efficient use of space
30
Q

Contemporary processing

A
  • This makes use of parallel processing- processing more than one piece of data at the same time.