PadhaikoAll subjects

Past exam question: 2082 Kartik (Back), Q1(b)

Microprocessors · 5 marks

Open in the Padhaiko app

Topic: Microprocessors, History, Digital Computer Block Diagram & Microcontrollers

Question

Explain briefly about the organization of a microprocessor based system.

Solution

Structural Overview of Microprocessor-Based System: A microprocessor-based system (microcomputer) comprises four interdependent functional subsystems interconnected by a three-bus hierarchy:

  1. Microprocessor (CPU)
  2. Memory Subsystem (ROM and RAM)
  3. Input/Output (I/O) Subsystem
  4. System Bus Structure (Address, Data, and Control Buses)

Organization Block Diagram:

               +---------------------------------------------------+
               |               Microprocessor (CPU)                |
               |  [ALU]  [Registers]  [Timing & Control]  [Decoder] |
               +-------------------------+-------------------------+
                                         |
     Address Bus (Unidirectional)        | A15–A0
   ======================================v=======================================>
        |                                       |                      |
        v                                       v                      v
   +----------+                            +----------+          +------------+
   | ROM      |                            | RAM      |          | I/O Ports  |
   | (Program |                            | (Data &  |          | & Interface|
   |  Memory) |                            |  Stack)  |          | (8255, etc)|
   +----+-----+                            +----+-----+          +-----+------+
        |                                       |                      |
     Data Bus (Bidirectional)                   | D7–D0                |
   <====x=======================================x======================x=========>
        |                                       |                      |
     Control Bus (Timing/Strobes)               | RD, WR, IO/M, etc.   |
   -----+---------------------------------------+----------------------+--------->

Detailed Functional Roles:

  1. Microprocessor (CPU): Coordinates and executes all processing activities:
    • ALU: Computes binary arithmetic (add, subtract) and logic (AND, OR, XOR).
    • Registers: Temporary storage for operands, intermediate values, memory addresses, and status flags.
    • Control & Timing Unit: Decodes instructions and generates synchronization strobes.
  2. Memory Subsystem:
    • ROM (Read-Only Memory): Non-volatile semiconductor memory that permanently stores system startup routines (BIOS/monitor) and operating firmware.
    • RAM (Random Access Memory): Volatile read-write memory holding user application programs, variables, buffers, and the execution stack.
  3. Input/Output Subsystem:
    • Input Interface: Interfaces external input peripherals (keyboards, switches, sensors, ADCs) to the data bus using tri-state buffers and port decoders.
    • Output Interface: Interfaces output devices (LEDs, displays, relays, DACs) using output latches.
  4. System Bus Structure:
    • Address Bus: Carries target memory/port address from CPU.
    • Data Bus: Transports information bytes between system elements.
    • Control Bus: Directs whether a read or write operation is being executed on memory or I/O.
Answer:

A microprocessor-based system organizes CPU, ROM, RAM, and I/O interface units around a common bus hierarchy: unidirectional address bus for location selection, bidirectional data bus for information transfer, and control bus for timing and direction.

All past exam questions for Microprocessors