Chapter 1 - Processor Components Flashcards

1
Q

What is the purpose of the control unit?

A

To control and coordinate the activities of the CPU, directing the flow of data between the CPU and othe devices

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

What is bus?

A

A set of parallel wires connecting two or more components of a computer

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

What is the system bus?

A

The address bus
The data bus
The control bus

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

What is the role of the control bus?

A

To transmit command, timing and specific status information between system components

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

What is the role of the data bus?

A

To provide a bi-directional path for moving data and instructions between system components

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

What is the role of the address bus?

A

To transmit memory addresses of words that are used as operands in program instructions

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

What is the purpose of the ALU?

A

Performs arithmetic and logical operations on the data

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

What are registers?

A

Special memory cells that operate at very high speed

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

What is the purpose of the accumulator?

A

Results from the ALU are stored here

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

What is the role of the 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
11
Q

What is the role of the current instruction register?

A

Holds the current instruction being executed, divided into operand and opcode

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

What is the role of the memory address register?

A

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

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

What is the role of the memory data register?

A

Used to temporarily store the data read from or written to memory

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

Describe the fetch phase inside the Fetch-Execute cycle

A

1) The address of the next instruction is copied from the program counter to the memory address register
2a) The instruction held at that address is copied to the memory data register.
2b) Simultaneously, the content of the PC is incremented so that it holds the address of the next instruction
3) The contents of the MDR are copied into the current instruction register

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

Describe the decode phase inside the Fetch-Execute cycle

A

1) The instruction held in the CIR is decoded and split into opcode and operand
2) The opcode is used to determine the type of instruction and what hardware to use on it
3) The operand holds either: the address of the data to be used with the operation or the actual data to be operated on

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