Structure of processor and its functions Flashcards

1
Q

What are the 3 buses used within a PC?

A
  1. Control bus
  2. Data bus
  3. Address bus
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is used in order to process an instruction?

A
  1. Opcode

2. Operand

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

What is the Control Unit?

A

A control unit coordinates all of the activities of CPU. Shows flow of data between CPU and other components.
Accepts instruction, decodes it, handles execution, stores resulting data back in memory or registers.

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

What is the ALU?

A

The arithmetic logic unit (ALU) performs arithmetic or logic operations. Bitwise shifts, Boolean logic gates.
Often use general-purpose registers to temporarily hold results of calculations

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

What is the ACC?

A
The accumulator (ACC) stores data and control information. The more general-purpose registers a processor has,
the faster it may operate. Results of calculations from ALU are stored here.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the MAR?

A

The memory address register (MAR) holds the address of the memory location of data yet to be fetched.
Sends these addresses to memory through the address bus.

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

What is the MDR?

A

The memory data register (MDR) temporarily stores data which is written to memory or read from memory.
All data to/from memory must travel down the data buss and pass through MDR.

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

What is the CIR?

A

Current instruction register (CIR) = Holds current instruction that’s being executed. Contents of MDR copied to CIR
if instructed to. Has opcode and operand.

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

What is the PC in a processor?

A

The program counter (PC) holds address of next instruction yet to be executed.

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

What is the DU?

A

The decode unit (DU) is a piece of logic that is presented with a sequence of bits that have been fetched from memory.
Prepares execution of instruction by looking up the binary operation code in its table so CPU knows what to do.

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

What do each of the busses do?

A
  1. Control bus = carries commands and control signals to and from every component of CPU
  2. Data bus = carries 1s and 0s that make up actual info being transmitted around CPU from RAM to CPU.
  3. Address bus = carries memory addresses that tell where data is read from/written to.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly