Structure and Function of the Processor Flashcards

1
Q

function of the processor

A

to execute instructions and manage the rest of the hardware

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

ALU (arithmetic and logic unit)

A

completes all the arithmetic , logical and shift operations

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

CU (control unit)

A

determines the sequence of operations to be executed from the ALU.

  • controls and coordinates activities of the CPU
  • manages the flow of data between the CPU and other devices
  • accepting the next instruction to be executed in order
  • decodes instructions
  • stores results back into RAM
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Registers

A

small high speed memory locations used to store temporary data and where all ALU operations occur

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

PC

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

ACC

A

temporarily stores the results from calculation

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

MAR

A

stores the address of the memory location currently in use

In the fetch phase, this would be the address of the instruction being loaded; in the execute phase, it would be the address of the data being used.

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

MDR

A

A register that contains the data to be stored in the computer storage, or the data after a fetch from the computer storage. It acts like a buffer and holds anything that is copied from the memory ready for the processor to use it.

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

Busses

A

Physical pathways shared by signals connecting multiple components in the CPU

Data bus
Address bus
Control bus

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

Data Bus

A

bi-directional

The part of the bus which carries data to and from components of the cpu

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

Address Bus

A

The part of the bus which carries the address of where the data is being sent to and has been retrieved from.
FROM CPU TO RAM
unidirectional

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

Control Bus

A

bi- directional.

carries control signals from the processor to every other component. The control bus also carries the clock’s pulses.

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

Control Signals

A
  • Bus request: device requesting the use of data bus
  • Bus grant: CPU granted access to data bus
  • Memory write: data written into the addressed location using this bus
  • Memory read: data is read from a specific location to be placed onto the data bus,
  • Interrupt request: shows that a device is requesting access to the CPU
  • Clock: used to synchronise operations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Pipelining

A

Process of executing separate instructions simultaneously. {As once and instruction is processed, the next instruction is fetched and one is decoded}

resembles the production line known as (overlapping )and is aimed to improve the efficiency of the processor.

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

Pipelining Pros

A
  • reduces the times that the CPU is kept idle
  • increases the throughput of the system
  • makes the system reliable
  • cycle processor time is reduces so more instructions are executed per second
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Pipelining Cons

A
  • Complex/ costly to manufacture

- instruction latency is more

17
Q

Instruction pipelining

A

divides instructions into series of steps {fetch, decode, execute}

18
Q

Arithmetic pipelining

A

divides an arithmetic problem into various sub problems and overlapping them as they are performed

19
Q

Fetch-Decode-Execute Cycle

A
  • Address from PC copied to MAR
  • Instruction held at that address is copied to MDR by the data bus
  • Simultaneously, contents of the PC are incremented by + 1
  • value held in the MDR is copied to the CIR
  • The contents of CIR are decoded and executed. results are stored ACC.
20
Q

Factors affecting the performance of the CPU

A

Clock speed
Number of cores
Cache

21
Q

Clock speed

A

Measured in Hertz, the clock speed is the frequency at which the internal clock generates pulses. The higher the clock rate, the faster the computer will execute instructions per second.

The clock is the electronic unit that synchronizes related components by generating pulses at a constant rate.

22
Q

Number of cores

A

CPUs with multiple cores have more power to run multiple programs at the same time. Therefore, if we increase the number of cores in a processor, there will be an increase in system performance.

23
Q

Cache size

A

a larger cache size means more programs and instructions can be stored in cache which can be accessed faster than RAM.

24
Q

Von Neumann Architecture

A

Traditional computer architecture that forms the basis of most digital computer systems. A single control unit manages program control flow following a linear sequence of fetch-decode-execute

25
Q

Harvard Architecture

A

A computer architecture with physically separate storage and signal pathways for instructions and data. These early machines had data storage entirely contained within the central processing unit, and provided no access to the instruction storage as data.

26
Q

Contemporary Processing

A

Any modern set of disciplines that describes the functionality, the organization and the implementation of computer systems.

27
Q

CIR

A

A register in the control unit that stores the address of the instruction currently being executed and decoded.