Lecture 11 Flashcards

1
Q

What are the main subsystems of the CPU?

A

Control Unit (CU)
Arithmetic Logic Unit (ALU)
Registers

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

How does data flow between the CPU, memory, and I/O devices?

A

Program and data are fed into the computer through the input unit and stored in memory.
Control Unit fetches instructions from memory and stores them in registers.
Control Unit decodes instructions and issues control signals.
Instructions are executed by the ALU, and results are stored in memory or registers.
Results are output through the output unit.

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

What are the steps of the Instruction Cycle?

A

Fetch instruction: Control Unit sends content to Memory Address Register (MAR) and performs read operation.
Decode instruction: Control Unit analyzes the Operation Code (OPCODE).
Operand address calculation and fetch: Control Unit fetches operand from registers and supplies to ALU.
Execute instruction: ALU performs arithmetic or logic operations.
Result store: Control Unit stores result in memory or registers.

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

What are the functions of the Control Unit?

A

Directs all operations of the processor.
Manages resources in the computer system.
Instructs memory, ALU, and I/O devices on how to respond to program instructions.
Generates timing and control signals.
Instructs ALU on operations to perform on data.

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

Define data path and control path in processor design.

A

Data Path: The hardware that performs data processing operations (e.g., ALU, registers).
Control Path: The hardware that generates control signals to direct operations (e.g., Control Unit).

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

What are the two types of Control Unit design?

A

Hardwired Control Unit:
Uses physical components like gates, flip-flops, decoders.
Generates control signals using fixed logic circuits.
Difficult to modify.

Microprogrammed Control Unit:
Uses programming approach with micro-instructions in control memory.
Generates control signals through a microprogram.
Easy to modify and flexible.

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

Describe implementing data path using arithmetic instructions.

A

Example 1: A = B + C
Example 2: D = A - C
Use 16-bit registers to store values and perform operations.

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

Compare Hardwired and Microprogrammed Control Units based on speed.

A

Hardwired: Faster fetching and execution of instructions.
Microprogrammed: Slower speed due to fetching instructions from control memory.

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

Compare Hardwired and Microprogrammed Control Units based on cost.

A

Hardwired: More costly to build.
Microprogrammed: Less costly; only requires micro-instructions program.

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

Compare Hardwired and Microprogrammed Control Units based on modification ease.

A

Hardwired: Difficult to modify, may require redesign of circuits.
Microprogrammed: Easy to modify at the instruction level.

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

Compare the handling of complex instructions in Hardwired and Microprogrammed Control Units.

A

Hardwired: Unable to handle complex instructions due to circuit complexity.
Microprogrammed: Can handle complex instructions.

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

What are the application areas for Hardwired and Microprogrammed Control Units?

A

Hardwired: Suited for Reduced Instruction Set Computer (RISC).
Microprogrammed: Suited for Complex Instruction Set Computer (CISC).

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

Describe the role of control signals in processor operations.

A

Determine the sequence of operations performed by the processor.
Define timing and type of operations to be executed.

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

What is the importance of the Program Counter (PC) in program execution?

A

PC contains the memory address where the program begins.
Increments to point to the next instruction after fetching the current one.

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

Explain the significance of the Memory Address Register (MAR).

A

Holds the memory address of data/instructions to be fetched or stored.
Used in the fetch phase of the instruction cycle.

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