PadhaikoAll subjects

Past exam question: 2082 Kartik (Back), Q2

Microprocessors · 8 marks

Open in the Padhaiko app

Topic: 8085 Features, Internal Architecture & Pin Configuration

Question

Draw the internal architecture of 8085 microprocessor and explain briefly about its major components.

Solution

Architectural Overview & Internal Layout: The Intel 8085 is an 8-bit, NMOS microprocessor operating on a single +5V supply with a 3 MHz internal operating frequency. Its architecture comprises 7 functional sections connected via an 8-bit internal data bus:

+-----------------------------------------------------------------------------+
|                     INTEL 8085 INTERNAL ARCHITECTURE                        |
|                                                                             |
| +----------------+ +----------------+ +-----------------------------------+ |
| | Interrupt Ctrl | | Serial I/O     | | Register Array                    | |
| | TRAP, RST 7.5, | | SID, SOD       | |   B (8)  |  C (8)                 | |
| | 6.5, 5.5, INTR | +----------------+ |   D (8)  |  E (8)                 | |
| +----------------+                    |   H (8)  |  L (8)                 | |
|                                       |   Stack Pointer (SP) (16)         | |
| +-----------------------------------+ |   Program Counter (PC) (16)       | |
| | ALU Section                       | |   Incrementer / Decrementer (16)  | |
| | Accumulator (A) (8)               | +-----------------+-----------------+ |
| | Temporary Register (8)            |                   |                   |
| | Flag Register (8: S,Z,AC,P,CY)    |                   v                   |
| | 8-bit ALU                         |         +-------------------+         |
| +-----------------+-----------------+         | Address Buffer    |         |
|                   |                           | (A15–A8)          |         |
|                   v                           +---------+---------+         |
|       =============================                     |                   |
|          8-Bit Internal Data Bus                        v                   |
|       =============================                 A15–A8 Lines            |
|                   |                                                         |
|                   v                           +-------------------+         |
|       +-----------------------+               | Multiplexed       |         |
|       | Instruction Register  |               | Address/Data Buf  |         |
|       +-----------+-----------+               | (AD7–AD0)         |         |
|                   v                           +---------+---------+         |
|       | Instruction Decoder   |                         |                   |
|       +-----------+-----------+                         v                   |
|                   v                                 AD7–AD0 Lines           |
|       | Timing & Control Unit |                                             |
|       | CLK, ALE, RD, WR,     |                                             |
|       | IO/M, S1, S0, READY   |                                             |
|       +-----------------------+                                             |
+-----------------------------------------------------------------------------+

Detailed Explanation of Major Components:

  1. Arithmetic and Logic Unit (ALU):
    • 8-bit computational block performing arithmetic (add, subtract) and logic (AND, OR, XOR, NOT, rotate).
    • Accumulator (Register A): 8-bit working register that holds one operand and receives the result of ALU operations.
    • Temporary Register: Latches the second operand for the ALU during execution.
    • Flag Register: 8-bit status register containing 5 active flip-flops: Sign (S), Zero (Z), Auxiliary Carry (AC), Parity (P), and Carry (CY).
  2. General Purpose Register Array:
    • Six 8-bit registers: B, C, D, E, H, L.
    • Can be used individually as 8-bit registers or combined as 16-bit register pairs: BC, DE, HL.
    • The HL pair functions as the primary 16-bit memory pointer M.
  3. Special Purpose Registers:
    • Program Counter (PC): 16-bit register holding the memory address of the next instruction byte to be fetched. Automatically incremented after each fetch.
    • Stack Pointer (SP): 16-bit register pointing to the top memory address of the LIFO stack in RAM.
    • Temporary Registers W and Z: 8-bit registers invisible to the programmer, used internally by the CPU to hold operands during multi-byte instruction execution.
  4. Instruction Register & Decoder:
    • Instruction Register (IR): Latches the 8-bit opcode fetched from memory during the opcode fetch cycle.
    • Instruction Decoder: Translates the opcode into control signals sent to the timing and control unit.
  5. Timing and Control Unit:
    • Derives internal clock phases and orchestrates system bus activity.
    • Status & Control signals: ALE (Address Latch Enable), RD_bar (Read), WR_bar (Write), IO/M_bar (Memory or I/O selection), S1, S0 (bus state identifiers).
    • Synchronization & Reset: READY, RESET IN_bar, RESET OUT, CLK OUT.
  6. Interrupt Control Unit:
    • Evaluates hardware interrupt lines in decreasing priority: TRAP, RST 7.5, RST 6.5, RST 5.5, and INTR.
    • Generates acknowledge signal INTA_bar for INTR requests.
  7. Serial I/O Control:
    • Provides software-controlled serial data transfer via SID (Serial Input Data) and SOD (Serial Output Data) pins, inspected and updated via RIM and SIM instructions.
  8. Address and Data Buffers:
    • Address Buffer (A15–A8): Unidirectional tri-state buffer driving high-order address lines.
    • Address/Data Buffer (AD7–AD0): Bidirectional multiplexed buffer carrying low-order address during T1 and 8-bit data during T2–T3.
Answer:

The 8085 internal architecture comprises 7 primary sections: ALU and Accumulator/Flags, General/Special Register array (B,C,D,E,H,L, PC, SP), Instruction Register and Decoder, Timing & Control Unit, Interrupt Control, Serial I/O, and Address/Data Buffers.

All past exam questions for Microprocessors