Section 5 Chapter 26 - The processor Flashcards

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

Components of the processor (5)

A
  • ALU
  • Control unit
  • System clock
  • General purpose registers
  • Dedicated registers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

System clock

A

Switches between 1 and 0 millions of times per second. Each CPU operation starts as the clock changes from 0 to 1

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

General purpose register

A

A very fast piece of memory where arithmetic and logical operations take place.

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

Accumulator

A

A general purpose register where the processor only has one

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

Dedicated registers (5)

A
  • Program counter (PC)
  • Current Instruction Register (CIR)
  • Memory address register (MAR)
  • Memory buffer register (MBR)
  • Status register (SR)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Program Counter

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

Current Instruction Register

A

Holds the current instruction being executed

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

Memory address register

A

Holds the address of the memory location from which data is to be fetched or written

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

Memory buffer register

A

Used to temporarily store the data read or written from memory

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

Status register

A

Contains bits that are true depending on the result of an instruction, for instance if an overflow occurs

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

Factors affecting processor performance (6)

A
  • Number of cores
  • Amount and type of cache
  • Clock speed
  • Word length
  • Address bus width
  • Data bus width
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Why dual core processors are not always twice as fast

A

The software may not be able to take advantage of both cores

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

Cache

A

A small expensive and very high speed memory located inside or near the CPU

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

What cache stores

A

When an instruction is fetched from main memory it is stored in cache in case it is needed again

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

The levels of memory (by speed)

A
Registers
L1 cache
L2 cache
L3 cache
RAM
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

ALU

A

Arithmetic Logic Unit

Performs arithmetic operations, for example adding or subtracting as well as logical operations for instance AND or XOR

17
Q

CU

A

Control Unit
Controls and coordinates the activities of the CPU. It accepts an instruction, breaks it into sequential steps and then manages its execution

18
Q

Dedicated register

A

A very fast piece of memory that has a specific task within the fetch-decode-execute cycle

19
Q

The fetch-decode-execute cycle

A

1 - The address of the next instruction is copied from the PC to the MAR
2 - The instruction held at that address is copied to the MBR and the contents of the PC is incremented to hold the address of the next instruction
3 - The contents of the MBR are copied to the CIR
4 - The instruction in the CIR is decoded
5 - The instruction is executed

20
Q

Why multi core processors are faster

A

Each processor can process a different instruction with its own fetch-execute cycle, all simultaneously

21
Q

How clock speed affects the processor performance

A

High clock speed means more instructions can be carried out per second

22
Q

How word length affects processor performance

A

A higher word length means that the processor can process more bits simultaneously, meaning a higher throughput of bits per second

23
Q

How address bus width affects processor performance

A

If the address bus width is not large enough to hold all the bits necessary to address all places in memory then the address will need to be sent in two parts, which will slow down the overall speed of processing

24
Q

How data bus width affects processor performance

A

The width of the data bus is the amount of bits that can be transferred simultaneously and thus a higher width means that more bits can be sent to or from the processor in the same amount of time