Microprocessor Class Notes CO4K Semester
Microprocessor Class Notes CO4K Semester
2. Architecture of Microprocessor:
- Basic Components:
- ALU (Arithmetic and Logic Unit): Performs arithmetic and logical operations.
- Registers: Temporary storage locations used for holding data and instructions.
- Control Unit (CU): Coordinates all activities within the microprocessor.
- Bus: Data, Address, and Control Buses for transferring data and control signals.
- Internal Architecture of Microprocessor (e.g., 8085, 8086):
- 8085 Microprocessor:
- 8-bit processor with 5 functional units (ALU, Registers, Stack Pointer, Program
Counter, and Control Unit).
- 40-pin IC with 16-bit address bus and 8-bit data bus.
- 8086 Microprocessor:
- 16-bit processor with a 20-bit address bus and 16-bit data bus.
- Segmented memory architecture (Code, Data, Stack, Extra).
4. Interrupts:
- Definition: Interrupts are signals that temporarily halt the CPU's current execution and
direct it to a predefined location to process an event.
- Types of Interrupts:
- Maskable Interrupts: Can be disabled (e.g., INTR).
- Non-Maskable Interrupts (NMI): Cannot be disabled (e.g., hardware failures).
- Interrupt Handling:
- Interrupt Vector Table (IVT): Holds addresses for interrupt service routines (ISR).
- Priority of Interrupts: Interrupts have priorities to determine which one is processed
first.
6. Timing Diagrams:
- Clock Cycle: The time required for one complete cycle of the microprocessor to fetch,
decode, and execute an instruction.
- Machine Cycle: A machine cycle consists of several clock cycles.
- Timing Diagram of 8085: Understanding how the signals change with the clock cycle.