Chapter 1.1 (The processor and processor components) Flashcards

- Learn the contents of the processor - Learn the (busses and the registers) - Learn the Fetch-Decode-Execute cycle

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

What are the components of a CPU?

A
  • Control unit (CU)
  • Buses
  • Arithmetic/Logic unit (ALU)
  • Dedicated registers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the function of the Control Unit?

A
  • The Control unit controls and co-ordinates the activities of the CPU.
  • It directs the flow of data between the CPU and other devices.
  • It performs the fetch-decode-execute cycle
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a bus?

A

A bus is 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
4
Q

What are the three busses collectively known as?

Name them

A
  • They are known collectively as the system bus

- Consisting of the address, data and control bus

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

What is the control bus?

A

The control bus is a bi-directional bus that transfers command, timing and specific status information between system components

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

What is the data bus?

A

The data bus is 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
7
Q

What is the address bus?

A

The address bus is a bus that transmits the memory addresses of data that is used as operands in program instructions.

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

What is the function of the ALU?

A

The arithmetic logic unit performs calculations and Logic operations.

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

What are the Registers in the CPU?

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

What is the function of the accumulator?

A

The accumulator is the register where operations carried out in the ALU are stored

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

What is the function of the Program Counter?

A

The program counter (PC) is the register that holds the address of the next instruction to be carried out

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

What is the function of the Current Instruction Register?

A

The Current Instruction Register (CIR) holds the current instruction being carried out as an Opcode and an Operand

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

What is the function of the Memory Address Register?

A

The Memory Address Register (MAR) holds the address of the memory location from which the data is to be fetched from or written to

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

What is the function of the Memory Data Register?

A

The Memory Data Register (MDR) is 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
15
Q

What happens in the Fetch stage of the Fetch-Decode-Execute cycle?

A

1 - The address of the next instruction from the Program counter is copied to the Memory Address Register
2 - The instruction located at the Address from the MAR (Via the address bus), is copied into the MDR
3 - simultaneously the PC is incremented
4 - The contents of the MDR are then copied into the CIR

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

What happens in the Decode stage of the Fetch-Decode-Execute cycle?

A

1 - The instruction held in the CIR is split into opcode and operand
2- The Opcode determines the type of instruction
3 - the operand holds the data that will either:
+ Be the actual data to be operated on
and so gets copied to the MDR
+ Be the address of the data to be used
and so gets copied to the MAR

17
Q

What happens in the Execute phase of the Fetch-Decode-Execute cycle?

A
  • Whatever the instruction/opcode was will be carried out

- It will receive a signal from the control bus letting it know whether it will write or read from memory