Chapter 1 - Processor components Flashcards

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

Control unit

A
  • Controls and coordinates activities of the CPU
  • In charge of FDE cycle
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Buses

A
  • set of parallel wires connecting two or more components
  • consists of 8, 16, 32 or 64 lines
  • control and data buses are bi-directional (signals can be carried both ways)
  • shared transmission medium, so only one device can transmit at any one time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Buses - Control bus

A

Ensures that access to and use of data and address buses does not lead to conflict; transmits command, timing and specific status information e.g.
- Memory write – data on the data bus is written into the addressed location
- Memory read – data from addressed location is read
- Clock – used to synchronise operations

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

Buses - Data bus

A

Provides path for moving data and instructions; largest operand possible is determined by the width of the data bus

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

Buses - Address bus

A

Transmits memory addresses of words, so that data can be retrieved; width of address bus determines the maximum possible memory capacity
- Words – a fixed size group of digits which memory is divided into; different types of processors have different word sizes; each has a specific memory address

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

ALU

A

Performs arithmetic and logical operations on data e.g. add, multiply, shift operations and boolean logic operations
- it is a type of register

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

Registers

A

Special memory cells that operate at very high speeds
There 16 general-purpose registers, but the accumulator (holds result of operation) takes the place all of them for simplicity

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

Registers - PC

A

Holds address of next instruction to be executed; could jump to another instruction/not go in a sequence

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

Registers - CIR

A

Holds current instruction being executed

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

Registers - MAR

A

Holds the address of the memory location from which data/instructions need to be fetched or written to

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

Registers - MDR

A

Used to temporarily store data from or to be written to memory

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

FDE cycle - Fetch

A
  1. Address of next instruction is copied from PC to MAR.
  2. Instruction held at that address is copied to MDR. Content of PC is incremented to hold the address of next instruction.
  3. Contents of MDR are copied to CIR
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

FDE cycle - Decode

A
  1. Instruction held in CIR is decoded. It is split into opcode (determines type of instruction in assembly language e.g. SUB, LDA, ADD) and operand (data to be operated one), holding either:
    - Address of data to be used is copied to MAR
    - Actual data is copied to MDR
    - data passed in to ALU/ACC
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

FDE cycle - Execute

A
  1. Appropriate instruction/opcode is carried out on the operand.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Registers - ACC

A

Temporarily holds result of arithmetic or logic operation

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