Skip to content
Advanced Microprocessor

8086 Pinout, Minimum vs Maximum Modes & 8088 Comparison

Memory banks (Even/Odd via BHE), Minimum vs Maximum modes, 8288 bus controller, and architectural differences with the 8088.

Knova editors11 min readQuick checkSources

8086 Pin Diagram, Operating Modes, and 8086 vs. 8088

The 8086 is housed in a 40-pin Dual In-Line Package (DIP). To maximize functionality while keeping pin count manageable, Intel implemented dual-purpose pin multiplexing and introduced two hardware operating modes selected by Pin 33 (MN/MX‾MN/\overline{MX}).

Memory Banking and Bus High Enable (BHE‾\overline{BHE})

The 8086 addresses 1 MB1\text{ MB} of memory physically organized as two parallel 512 KB512\text{ KB} memory banks:

  1. Even (Lower) Bank: Contains all even-addressed bytes (00000H,00002H,…,FFFFEH00000\text{H}, 00002\text{H}, …, \text{FFFFE}\text{H}). Connected to data bus lines D7−D0D_7-D_0. Selected by active-low address bit A0=0A_0 = 0.
  2. Odd (Upper) Bank: Contains all odd-addressed bytes (00001H,00003H,…,FFFFFH00001\text{H}, 00003\text{H}, …, \text{FFFFF}\text{H}). Connected to data bus lines D15−D8D_{15}-D_8. Selected by active-low control strobe BHE‾=0\overline{BHE} = 0 (Pin 34).
BHE‾\overline{BHE}A0A_0Data Transfer TypeActive Data Bus Lines
0016-bit word at even addressD15−D0 (Simultaneous 1-cycle access)D_{15}-D_0 \text{ (Simultaneous 1-cycle access)}
018-bit byte at odd addressD15−D8D_{15}-D_8
108-bit byte at even addressD7−D0D_7-D_0
11No memory selection / InactiveNone

Minimum Mode vs. Maximum Mode

Pin 33 (MN/MX‾MN/\overline{MX}) ties to +5V+5\text{V} (Logic 1) for Minimum Mode or to Ground (Logic 0) for Maximum Mode. Pins 24 through 31 assume completely different hardware functions depending on this pin:

1. Minimum Mode (MN/MX‾=1MN/\overline{MX} = 1)

Designed for single-processor, cost-sensitive systems where the 8086 directly generates all bus control signals:

  • ALE (Pin 25): Address Latch Enable for demultiplexing AD0−AD15AD_0-AD_{15}.
  • M/IO‾M/\overline{IO} (Pin 28): Distinguishes Memory (11) vs I/O (00) bus cycles.
  • RD‾\overline{RD} and WR‾\overline{WR} (Pins 32, 29): Read and Write strobes.
  • INTA‾\overline{INTA} (Pin 24): Interrupt Acknowledge strobe.
  • DT/R‾DT/\overline{R} and DEN‾\overline{DEN} (Pins 27, 26): Data Transmit/Receive direction and Data Enable for external 8286 transceivers.
  • HOLD and HLDA (Pins 31, 30): Direct Memory Access request and acknowledge handshaking.

2. Maximum Mode (MN/MX‾=0MN/\overline{MX} = 0)

Designed for multiprocessor systems and numeric coprocessor interfacing (e.g., Intel 8087 Math Coprocessor). The 8086 relinquishes control signal generation to an external 8288 Bus Controller:

  • Status Lines S2‾,S1‾,S0‾\overline{S_2}, \overline{S_1}, \overline{S_0} (Pins 26, 27, 28): Decoded by the 8288 bus controller to generate memory read/write and I/O command strobes:
    S2‾\overline{S_2}S1‾\overline{S_1}S0‾\overline{S_0}Processor State
    000Interrupt Acknowledge
    001Read I/O Port
    010Write I/O Port
    011Halt
    100Instruction Fetch
    101Read Memory
    110Write Memory
    111Passive / Inactive
  • Queue Status Lines QS1,QS0QS_1, QS_0 (Pins 24, 25): Inform coprocessors (like 8087) of 8086 instruction queue activity (00=No operation,01=First byte fetched from queue,10=Queue emptied,11=Subsequent byte from queue00 = \text{No operation}, 01 = \text{First byte fetched from queue}, 10 = \text{Queue emptied}, 11 = \text{Subsequent byte from queue}).
  • LOCK‾\overline{LOCK} (Pin 29): Output asserted low when executing instructions prefixed by LOCK. Prevents other bus masters from seizing the bus during critical read-modify-write sequences.
  • RQ‾/GT0‾\overline{RQ}/\overline{GT_0} and RQ‾/GT1‾\overline{RQ}/\overline{GT_1} (Pins 30, 31): Bidirectional Request/Grant lines replacing HOLD/HLDA for multiprocessor arbitration.

Comparison: Intel 8086 vs. Intel 8088

The 8088 is a low-cost variant of the 8086 released in 1979 to allow computer manufacturers (including IBM for the original IBM PC) to use inexpensive 8-bit support ICs and circuit boards.

FeatureIntel 8086Intel 8088
Internal Architecture16-bit execution unit16\text{-bit execution unit}16-bit execution unit (Identical)16\text{-bit execution unit (Identical)}
External Data Bus16-bit bidirectional (AD15−AD0)16\text{-bit bidirectional } (AD_{15}-AD_0)8-bit bidirectional (AD7−AD0)8\text{-bit bidirectional } (AD_7-AD_0)
Address Bus20-bit (1 MB space)20\text{-bit } (1\text{ MB space})20-bit (1 MB space)20\text{-bit } (1\text{ MB space})
Instruction Queue6 bytes6\text{ bytes}4 bytes4\text{ bytes}
Memory Banking2 banks (Even and Odd, 512 KB each)2\text{ banks (Even and Odd, } 512\text{ KB each)}Single bank (No banking needed)
Pin 34BHE‾/S7 (Bus High Enable)\overline{BHE}/S_7 \text{ (Bus High Enable)}SS0‾ (Status line matching S0)\overline{SS_0} \text{ (Status line matching } S_0)
Pin 28 (Min Mode)M/IO‾ (Memory High, IO Low)M/\overline{IO} \text{ (Memory High, IO Low)}IO/M‾ (IO High, Memory Low)IO/\overline{M} \text{ (IO High, Memory Low)}
16-Bit Word Transfer1 bus cycle if aligned1\text{ bus cycle if aligned}Always 2 consecutive bus cycles\text{Always } 2\text{ consecutive bus cycles}

Coprocessor Interfacing: Intel 8087 Numeric Data Processor (NDP)

The Intel 8087 is a tightly coupled math coprocessor that extends the 8086 architecture to execute hardware floating-point, logarithmic, and trigonometric computations up to 100×100\times faster than software routines.

1. Maximum Mode Hardware Connection

The 8087 operates strictly in Maximum Mode (MN/MX‾=0\text{MN}/\overline{\text{MX}} = 0) in parallel with the 8086:

  • Shared Multiplexed Buses: Address/data lines AD15−AD0AD_{15}-AD_0 and status lines S2−S0S_2-S_0 are wired directly in parallel between the 8086 and 8087.
  • Queue Status Tracking (QS1,QS0QS_1, QS_0): The 8087 monitors the 8086 instruction queue in real-time. When an escape instruction (ESC, opcode 11011B11011\text{B}) appears at the head of the queue, the 8087 recognizes it as a math operation and begins execution.
  • Bus Seizure via RQ‾/GT‾\overline{\text{RQ}}/\overline{\text{GT}}: When the 8087 needs to load or store operands from/to memory, it pulses the shared bidirectional RQ‾/GT0‾\overline{\text{RQ}}/\overline{\text{GT}_0} line. The 8086 completes its current bus cycle and grants bus mastery to the 8087.
  • Synchronization via TEST‾\overline{\text{TEST}} and WAIT: While the 8087 is calculating, it raises its BUSY output, which is wired directly to the 8086 TEST‾\overline{\text{TEST}} pin. When the 8086 executes the WAIT (or FWAIT) instruction, it idles until TEST‾\overline{\text{TEST}} goes low, guaranteeing that the coprocessor has finished writing the result before the CPU reads it.

2. Supported IEEE 754 Data Formats

  • Single-Precision Real (3232 bits): 1 sign bit, 8 exponent bits, 23 significand bits.
  • Double-Precision Real (6464 bits): 1 sign bit, 11 exponent bits, 52 significand bits.
  • Temporary Real (8080 bits): 1 sign bit, 15 exponent bits, 64 explicit significand bits. All internal 8087 calculations use this format in an 8-level, 80-bit register stack (ST(0)−ST(7)ST(0)-ST(7)) to avoid intermediate rounding error.
  • Packed BCD (8080 bits): 18 decimal digits with sign bit.
  • Signed Integers: Short (1616 bits), Long (3232 bits), and Quad (6464 bits).
Try it
Bank Selection Decoding: Which signal combination enables the transfer of an 8-bit byte from an odd memory address in the 8086?

Sources

  1. 1.Intel 8086 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.