8085 Pin Description

Multiplexed address/data bus, signals.

Darshan N
Updated: 19 March 2026
7 min read

The 8085 microprocessor is housed in a 40-pin DIP (Dual Inline Package) and every pin serves a specific functional role in communicating with memory, I/O devices, power supply, and control circuits. A thorough understanding of the pin description is essential not only for hardware interfacing but also for interpreting timing diagrams and understanding how the processor manages its multiplexed bus. GATE and university examinations frequently test knowledge of specific pin functions, particularly the multiplexed address/data bus and control signal behavior.

Intel 8085 Pin Configuration (40-pin DIP)8085A40-Pin DIP PackagePin 1Pin 2Pin 3Pin 4Pin 5Pin 6Pin 7Pin 8Pin 9Pin 10Pin 40Pin 39Pin 38Pin 37Pin 36Pin 35Pin 34Pin 33Pin 32Pin 31X1X2RESET OUTSODSIDTRAPRST 7.5RST 6.5RST 5.5INTRVCC (+5V)HOLDHLDACLK OUTRESET INREADYIO/MS1RDWRAD0–AD7 (Pins 12–19): Multiplexed Addr/DataA8–A15 (Pins 21–28): High-order Address BusALE (Pin 30) | S0 (Pin 29) | GND (Pin 20)Multiplexed Bus (AD0–AD7)T1 state: carries Address (A0–A7)T2,T3 states: carries Data (D0–D7)ALE high → address valid → must latchALE low → data phase beginsExternal latch (74LS373) captures A0–A7Control Signals SummaryRD low: processor reading from memory/IOWR low: processor writing to memory/IOIO/M high: IO access; low: memory accessALE: demultiplex address from AD busREADY: insert wait states for slow memory
Figure 1: Intel 8085 pin configuration and bus organization showing multiplexed address/data bus and key control pins

Core Concept Explanation

The 8085 requires a 16-bit address bus to access 64KB of memory. However, to reduce chip pin count from 40 to a manageable number, Intel chose to multiplex the lower 8 address lines (A0 through A7) with the 8 data lines (D0 through D7) on the same physical pins, labeled AD0 through AD7. This multiplexing means that during the first clock state (T1) of every machine cycle, the pins carry an address, while during subsequent states (T2 and T3) the same pins carry data. External circuitry must latch the address during T1 before the bus transitions to data.

The upper 8 address bits, A8 through A15, are available on dedicated pins that are not shared with data. These pins carry only address information and do not require any external demultiplexing. Together, AD0-AD7 (after latching) and A8-A15 form the complete 16-bit address bus needed to address 64KB of memory space.

The ALE (Address Latch Enable) pin is the key to demultiplexing. It goes high at the beginning of every machine cycle (T1 state) to signal that the AD0-AD7 pins currently carry a valid address. An external 8-bit latch such as the 74LS373 or Intel 8212 uses ALE as its strobe input to capture and hold A0-A7. When ALE returns low, the latch holds the address while the bus transitions to data. Without this external latch, the address information would be lost.

Pin Groups and Their Functions

The power supply pins are VCC (pin 40, +5V) and GND (pin 20). The crystal oscillator pins X1 and X2 accept a crystal or RC network to generate the internal clock. The 8085 internally divides the crystal frequency by 2 to produce the operating clock. A 6 MHz crystal produces a 3 MHz internal clock. The CLK OUT pin provides this divided clock to other chips in the system.

The interrupt pins include TRAP (non-maskable, highest priority), RST 7.5, RST 6.5, RST 5.5 (all maskable, level triggered for 6.5 and 5.5, edge and level for 7.5), and INTR (general maskable interrupt). TRAP is the most important for GATE because it is non-maskable, meaning it cannot be disabled by software and always vectors to memory address 0024H.

The DMA (Direct Memory Access) pins are HOLD and HLDA. An external DMA controller asserts HOLD to request control of the buses. The 8085 completes its current machine cycle, then tri-states all bus and control pins and asserts HLDA to acknowledge. The DMA controller then takes over the buses to transfer data directly to or from memory without CPU involvement. This is used in systems requiring high-speed data transfer.

The READY pin allows interfacing with slow memory or I/O devices. If READY is low when the 8085 samples it during T2, the processor inserts additional wait states (TW) before completing the memory access. Fast memory keeps READY permanently high, eliminating wait states.

Mathematical Expression

The addressable memory space is determined by the width of the address bus. With 16 address lines, the 8085 can address 2 raised to 16 equals 65536 unique locations, each holding 1 byte, giving a total memory space of 64 Kilobytes. The I/O address space is separate: the 8085 uses 8-bit I/O addresses (A0-A7, with A8-A15 carrying the same value), giving 256 input and 256 output port addresses.

Numerical Example

A common numerical problem involves computing the number of memory chips required to fill the 8085 address space, or determining the clock frequency from crystal specifications. Below is a crystal-to-clock-frequency calculation, which is a standard GATE question format.

Example
Given:
Crystal frequency = 6.144 MHz connected to X1, X2 pins of 8085
CLK OUT frequency needed: ?

Why this formula applies:
The 8085 internally divides the crystal frequency by 2 to derive the operating clock.
CLK OUT reflects this divided frequency and drives peripheral chips.

Formula:
f_CLK = f_crystal / 2

Substitution:
f_CLK = 6.144 MHz / 2

Calculation:
f_CLK = 3.072 MHz ≈ 3 MHz

T-state duration = 1 / f_CLK = 1 / (3.072 × 10⁶)
T-state duration = 0.3255 µs ≈ 325.5 ns

Final Answer:
Operating clock frequency = 3.072 MHz
One T-state = 325.5 ns
For instruction with 13 T-states: execution time = 13 × 325.5 ns = 4.23 µs
Exam Tip: GATE frequently tests the priority order of 8085 interrupts: TRAP (highest) > RST 7.5 > RST 6.5 > RST 5.5 > INTR (lowest). Also remember: TRAP is non-maskable and edge+level triggered. The crystal frequency is DIVIDED BY 2 internally — if the question gives 6 MHz crystal, the clock is 3 MHz.
8085 Bus Demultiplexing Mechanism8085 MicroprocessorAD0–AD7 (Multiplexed)A8–A15 (Address)ALERD / WRIO/M74LS373 LatchCaptures A0–A7when ALE = HighOutputs Stable AddressMemory / IOReceives 16-bit AddressData on D0–D7AD0–AD7ALEA0–A7 (Latched)A8–A15 (Direct Address Lines)T1T2T3TWT4
Figure 2: 8085 demultiplexing mechanism using external latch and bus timing sequence showing address and data phases

Pin Signal Behavior Summary

  • AD0–AD7 carry the lower 8 address bits during T1 (ALE high) and data during T2 and T3. An external latch must capture A0–A7 before ALE falls.
  • A8–A15 are dedicated address pins that remain stable throughout the machine cycle. No latching is required for these lines.
  • RD (active low) indicates the processor wants to read data. WR (active low) indicates the processor wants to write data. Both are asserted during T2 and T3.
  • IO/M (active high for I/O, active low for memory) distinguishes whether the current bus cycle is accessing memory or an I/O port. Combined with RD and WR, this gives four bus operations: memory read, memory write, IO read, IO write.
  • RESET IN (active low) initializes the PC to 0000H and the processor starts execution from address 0000H. RESET OUT signals external peripherals that a reset has occurred.

Quick Revision

  • AD0–AD7: multiplexed bus. During T1 = lower address byte (A0–A7). During T2/T3 = data byte. ALE separates the two phases.
  • A8–A15: dedicated address lines, not multiplexed. Always carry upper byte of address during entire machine cycle.
  • ALE goes high during T1 to indicate valid address on AD bus. External 74LS373 latches A0–A7 on falling edge of ALE.
  • RD, WR are active-low control signals. IO/M high = I/O access; IO/M low = memory access.
  • Crystal frequency ÷ 2 = operating clock. A 6 MHz crystal gives 3 MHz clock and 333 ns T-state duration.
  • Interrupt priority: TRAP > RST7.5 > RST6.5 > RST5.5 > INTR. TRAP is non-maskable. INTR requires an external INTA acknowledge cycle.
  • HOLD/HLDA: DMA handshake. HOLD request from DMA; HLDA acknowledge from 8085. CPU tri-states buses after completing current machine cycle.

8085 Pin Description Quiz

Verify your understanding of the 8085 pin functions and multiplexed bus behavior.

Question 1 of 3

Q1.In the 8085, pins AD0-AD7 are multiplexed. During the first clock cycle (T1), what information do these pins carry?