SLR 01 Structure & Function Of The Processor Flashcards

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

What Is The ALU?

A
  • Arithmetic Logic Unit
  • Deals with basic arithmetic such as addition or subtraction
  • Is capable of many complex mathematical functions such as sine, cosine and floating point division
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What Is The CU?

A
  • Control Unit
  • Co-ordinates the various units inside the processor via the use of “control signals” which determine the flow of data into, and around the processor.
  • Instructions are decoded in the control unit during the FDE cycle.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What Are Registers?

A
  • A location where a single item of data can be stored.
  • Specialized, high speed storage within the CPU itself.
  • Before any data is processed, it must be represented in individual registers.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What Registers Are Located In The Processor? (5)

A
Program Counter (PC)
Memory Address Register (MAR)
Memory Data Register (MDR)
Current Instruction Register (CIR)
Accumulator (ACC)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What Does The Program Counter (PC) Do?

A

Stores the address of the next instruction

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

What Does The Memory Address Register (MAR) Do?

A

Contains the address of the memory location currently in use.

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

What Does The Memory Data Register (MDR) Do?

A

Contains the instructions/data to be executed.

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

What Does The Current Instruction Register (CIR) Do?

A

Holds the instruction whilst it is being decoded.

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

What Does The Accumulator (ACC) Do?

A

The accumulator stores the results of calculates processed by the ALU.

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

Why Are The CIR and MDR Different Registers If They Seem To Store The Same Value?

A

It may seem as though the CIR and MDR always hold the same value. However, consider an input instruction, if there was no CIR, the MDR would hold the input instruction. However when the data is input, the inputted value would overwrite the input instruction in the MDR, hence the need for the CIR and the MDR.

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

What Are Buses?

A

Buses are a collection of wires through which data is transmitted from one part of a computer to another.

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

What Are The Three Data Buses?

A

Data Bus
Address Bus
Control Bus

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

What Does The Data Bus Do?

A
  • Transfers Data
  • Typically From CPU Ram
  • Half duplex, data can travel in either direction.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What Does The Address Bus Do?

A
  • Transfers addresses of memory being saved to / loaded from memory
  • Simplex pathway, the CPU only ever sends the memory address.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What Does The Control Bus Do?

A
  • Sends and receives signals from all parts of the computer.
  • Ensures that processes occur at the correct time.
  • These signals travel along the control bus
  • Made of several control lines including an interrupt request line, a memory read line and a memory write line, in addition to the clock for synchronizing operations.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What Is The FDE Cycle?

A

The fetch, decode and execute cycle describes the standard steps needed for processing to take place.

17
Q

What Steps Are Taken During The Fetch Part Of The Cycle?

A
  1. The Address in the Program Counter is copied to the Memory Address Register.
  2. The Program Counter is incremented.
  3. A Fetch signal is sent along the Control Bus by the Control Unit to the Memory, while the address held in the Memory Address Register is sent to the Memory along the Address Bus. The value stored in memory returns to the CPU along the Data Bus and is held in the Memory Data Register.
  4. This value in the Memory Data Register is copied to the Current Instruction Register.
18
Q

What Steps Are Taken During The Decode Part Of The Cycle?

A
  1. The contents of the Current Instruction Register are sent to the Control Unit for decoding.
  2. The type of addressing used by the instruction must be identified:
    - If the address is a direct address, load this address into the Memory Address Register and retrieve the contents of that address.
    - If the address is an indexed address, add the contents of the index register to the address, then copy this value to the Memory Address Register. Retrieve the contents of this memory location.
19
Q

What Steps Are Taken During The Execute Part Of The Cycle?

A
  1. If the instruction is a jump:
    1. Load the address operand into the Program Counter and copy the address component in the Current Instruction Register to the Program Counter.
    2. At this point execution has finished.
  2. Otherwise, execute the instructions.
20
Q

Which Factors Affect CPU Performance?

A
  • Clock Speed
  • Cache Memory
  • Number Of Cores
  • Pipelining
21
Q

What Is Clock Speed?

A
  • The number of FDE cycles the CPU can perform per second.
22
Q

What Is Cache Memory?

A
  • Built into the CPU
  • Much quicker to access than RAM
  • Very expensive and therefore small
23
Q

What Are Multiple Cores?

A
  • Each core can operate independently of the others

- Each have their own low level cache.