Skip to content
Advanced Microprocessor

8085 40-Pin DIP Layout & Signal Demultiplexing

Multiplexed AD0–AD7 lines, Address Latch Enable (ALE) with 74LS373, control strobes (RD, WR, IO/M), clock, and reset logic.

Knova editors10 min readQuick checkSources

Pin Diagram and Signal Functions of 8085

The 8085 is housed in a 40-pin Dual In-Line Package (DIP). Its signals are grouped into six distinct functional classifications:

  1. Time-multiplexed Address/Data Bus (AD0−AD7AD_0-AD_7)
  2. High-order Address Bus (A8−A15A_8-A_{15})
  3. Control and Status Signals (RD‾,WR‾,IO/M‾,S1,S0,ALE,READY\overline{RD}, \overline{WR}, IO/\overline{M}, S_1, S_0, ALE, READY)
  4. Power Supply and Clock Signals (VCC,VSS,X1,X2,CLK OUTV_{CC}, V_{SS}, X_1, X_2, CLK\,OUT)
  5. Interrupt Signals (TRAP,RST 7.5,RST 6.5,RST 5.5,INTR,INTA‾TRAP, RST\,7.5, RST\,6.5, RST\,5.5, INTR, \overline{INTA})
  6. Serial I/O and DMA Signals (SID,SOD,HOLD,HLDA,RESET IN‾,RESET OUTSID, SOD, HOLD, HLDA, \overline{RESET\,IN}, RESET\,OUT)

Demultiplexing the Address/Data Bus

The 8085 features a 16-bit address bus capable of addressing 216=65,536 bytes (64 KB)2^{16} = 65,536\text{ bytes } (64\text{ KB}) of memory. To conserve package pin count, the lower 8 address lines (A0−A7A_0-A_7) are time-multiplexed with the 8-bit bidirectional data lines (D0−D7D_0-D_7) across physical pins 12 to 19, labeled AD0−AD7AD_0-AD_7.

  • During clock state T1T_1 of any machine cycle, lines AD0−AD7AD_0-AD_7 serve as the lower-order address bus (A0−A7A_0-A_7).
  • During clock states T2,T3,T_2, T_3, and T4T_4, lines AD0−AD7AD_0-AD_7 transition into the bidirectional data bus (D0−D7D_0-D_7).
Fig 2.1: Demultiplexing Multiplexed Bus AD0-AD7 Using 74LS373 Transparent Latch
Fig 2.1: Demultiplexing Multiplexed Bus AD0-AD7 Using 74LS373 Transparent Latch

Control and Status Signals

The 8085 coordinates bus traffic using six primary control lines:

  • IO/M‾IO/\overline{M} (Pin 34): Output status line distinguishing memory and I/O cycles. When LOW (00), the cycle is addressing memory; when HIGH (11), the cycle is addressing an I/O device.
  • RD‾\overline{RD} (Pin 32): Active-low read strobe. When low, the selected memory or input peripheral is instructed to place data onto the system data bus.
  • WR‾\overline{WR} (Pin 31): Active-low write strobe. When low, data on the data bus is validated and ready to be stored into the selected memory cell or output register.
  • Status Lines S1S_1 and S0S_0 (Pins 33 and 29): Provide early bus-status notification to external hardware:
IO/M‾IO/\overline{M}S1S_1S0S_0Machine Cycle
011Opcode Fetch
010Memory Read
001Memory Write
110I/O Read
101I/O Write
111Interrupt Acknowledge
Tri-state00Halt

Clock Generation and Frequency Division

Pins 1 and 2 (X1,X2X_1, X_2) connect to an external quartz crystal or RC network. An internal divide-by-2 flip-flop divides the crystal frequency to produce the internal operating clock:

foperating=fcrystal2f_{\text{operating}} = \frac{f_{\text{crystal}}}{2}

For an 8085 system utilizing a 6.144 MHz6.144\text{ MHz} quartz crystal, the internal system clock and the output at pin 37 (CLK OUTCLK\,OUT) run at:

foperating=6.144 MHz2=3.072 MHz  ⟹  Tstate=13.072×106 s−1≈325.5 nsf_{\text{operating}} = \frac{6.144\text{ MHz}}{2} = 3.072\text{ MHz} \implies T_{\text{state}} = \frac{1}{3.072 \times 10^6\text{ s}^{-1}} \approx 325.5\text{ ns}

Bus Synchronization and DMA Controls

  • READY (Pin 35): Sampled by the MPU during clock state T2T_2. If a slow memory device has not asserted READY high, the 8085 inserts wait states (TWT_W) between T2T_2 and T3T_3, freezing bus state until the peripheral catches up.
  • HOLD (Pin 39) and HLDA (Pin 38): Direct Memory Access (DMA) lines. When an external controller (such as the 8257) needs high-speed direct access to memory, it asserts HOLD high. Upon finishing the current machine cycle, the 8085 tri-states its address and data buses and acknowledges with HLDA high.
  • RESET IN‾\overline{RESET\,IN} (Pin 36): Active-low input. Connected to an external resistor-capacitor network. When pulled low, it resets the Program Counter to 0000H0000\text{H}, clears the instruction register, and asserts pin 3 (RESET OUTRESET\,OUT) high to reset peripheral devices.
DIP-40 Package Explorer

Intel 8085 Pin Diagram & Signal Functions

Select a pin group or click any pin on the silicon package to inspect its electrical direction, multiplexing behavior, and functional role.

Intel 8085AH Dual In-Line Package (DIP-40)
Pin 30

ALE

Output
Classification:Control & Status
Primary Function:

Address Latch Enable

Engineering Details:

High-going positive pulse generated during T1 of every machine cycle. Used as clock strobe for external latch (74LS373) to demultiplex AD0-AD7 into separate A0-A7.

💡 Silicon Demultiplexing Rule:

8085 saves 8 physical pins by time-multiplexing AD0–AD7. Pin 30 (ALE) fires HIGH during T1 to strobe the low address byte into an external 74LS373 latch before the bus transforms into a data carrier during T2–T3.

Try it
Demultiplexing Clock Phase: During which clock state is the Address Latch Enable (ALE) signal high?

Sources

  1. 1.Intel 8085 Microprocessor Datasheet · reference · Intel (opens in a new tab)

Was this chapter useful?

Editors read every answer.

Star this chapter

Each star goes once to every reader who improved this chapter.

Finished reading?

Mark it to keep your place in the course.