Chapter 1 - Processor Components (1.1) Flashcards

1
Q

What components does the CPU contain? (10)

A
  1. Control Unit
  2. Control Bus
  3. Data Bus
  4. Address Bus
  5. Arithmetic Logic Unit
  6. Accumulator
  7. Program Counter
  8. Current Instruction Register
  9. Memory Address Register
  10. Memory Data Register
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does the Control Unit do?

A

Controls and coordinates activities of CPU and Fetch Decode Execute cycle, also contains the clock

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

What is the Control Bus?

A

transmits control signals and provides status info between system components, coordinates the use of the data and address buses

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

Is the control bus bi-directional?

A

Yes

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

Give examples of the control lines from the control bus. (6)

A
  1. Bus Request
  2. Bus Grant
  3. Memory Write
  4. Memory Read
  5. Interrupt Request
  6. Clock
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a Bus Request?

A

indicates device is requesting use of data bus

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

What is a Bus Grant?

A

indicates CPU granted access to data bus

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

What is a Memory Write?

A

causes data on data bus to be written into addressed location

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

What is a Memory Read?

A

causes data from addressed location to be placed on data bus

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

What is an Interrupt Request?

A

indicates device is requesting access to CPU

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

What is a Clock?

A

synchronises operations

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

What is the Data Bus?

A

transmits data and instructions between system components

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

Is the Data Bus bi-directional?

A

Yes

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

What is the Address Bus?

A

transmits memory addresses specifying where data is to be sent to or retrieved from so that data is received and sent back to processor

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

Is the address bus bi-directional?

A

No

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

What is the Arithmetic Logic Unit?

A

Performs arithmetic and logic operations on data

17
Q

Give examples of what the Arithmetic Logic Unit can do. (6)

A
  1. Adding
  2. Subtracting
  3. Multiplying,
  4. Dividing
  5. Comparing
  6. Boolean (AND, OR, NOT)
18
Q

What is a Register?

A

Small but fast piece of memory which holds info for CPU to work

19
Q

What is the Accumulator?

A

Holds results of operations carried out

20
Q

What is the Program Counter?

A

Holds address of next instruction to be executed

21
Q

What is the Current Instruction Register?

A

Holds current instruction being executed and divides it into operand and opcode

22
Q

What is the Memory Address Register?

A

holds address of memory location that is to be read/written to.

23
Q

What is the Memory Data Register?

A

stores data read from or written to memory (also known as memory buffer register)

24
Q

State the Fetch phase of the Fetch Decode Execute Cycle. (3)

A
  1. address from next instruction copied from program counter to memory address register
  2. instruction held at MAR is copied to memory data register via data bus, simultaneously contents of PC is incremented so it holds address of next instruction
  3. contents of MDR copied to current instruction register
25
Q

State the Decode phase of the Fetch Decode Execute Cycle. (1)

A
  1. instruction held in CIR is decoded and split into opcode and operand
26
Q

What is opcode?

A

determines type of instruction and what hardware to execute it

27
Q

What is operand?

A

address where the operation is performed

28
Q

State the Execute phase of the Fetch Decode Execute Cycle. (1)

A
  1. Appropriate instruction/opcode carried out in operand and executed