8086 Architecture

The 8086 forms a 20-bit physical address from a 16-bit segment and 16-bit offset (segment × 16 + offset), giving 1 MB of memory; its BIU prefetches instructions while the EU executes for a simple pipeline.

Key formulas & points

Skim these first — then read the full notes below.

  • General registers: AX, BX, CX, DX with high/low bytes
  • Segment registers CS, DS, SS, ES for code, data, stack, extra
  • Flags: ZF, CF, SF, PF, OF, AF after arithmetic

Topic details

Introduction

The 8086 is a 16-bit processor with a 20-bit address bus, so it addresses 1 MB. Because registers are only 16 bits, memory is accessed through segmentation: the physical address = segment × 16 (shift left one hex digit) + offset.

Scope in B.Tech and GATE syllabus

The architecture splits into the Bus Interface Unit (BIU), which fetches instructions into a 6-byte queue, and the Execution Unit (EU), which decodes and executes — overlapping fetch and execute for higher throughput.

Key relations & formulas

Formulas (Indian textbook notation)

  • Physicaladdress=(Segment×10H)+OffsetPhysical address = (Segment \times 10H) + Offset

Formulas (Indian textbook notation)

  • 8086:16bitdatabus,20bitaddress,1MBaddressspace8086: 16-bit data bus, 20-bit address, 1 MB address space

Formulas (Indian textbook notation)

  • EUexecutes;BIUprefetchesinstructionsqueuepipelineEU executes; BIU prefetches instructions - queue pipeline

Notation and sign conventions

Relation 1 —
Physicaladdress=Physical address =

Formulas (Indian textbook notation)

  • Physicaladdress=(Segment×10H)+OffsetPhysical address = (Segment \times 10H) + Offset
Write this relation with symbols exactly as in Microprocessor Architecture & Programming — Ramesh Gaonkar before substituting numbers. Examiners award partial marks for a correct setup even when arithmetic slips.
Relation 2 —
8086:16bitdatabus,20bitaddress,1MBaddressspace8086: 16-bit data bus, 20-bit address, 1 MB address space

Formulas (Indian textbook notation)

  • 8086:16bitdatabus,20bitaddress,1MBaddressspace8086: 16-bit data bus, 20-bit address, 1 MB address space
Write this relation with symbols exactly as in Microprocessor Architecture & Programming — Ramesh Gaonkar before substituting numbers. Examiners award partial marks for a correct setup even when arithmetic slips.
Relation 3 —
EUexecutes;BIUprefetchesinstructionsqueuepipelineEU executes; BIU prefetches instructions - queue pipeline

Formulas (Indian textbook notation)

  • EUexecutes;BIUprefetchesinstructionsqueuepipelineEU executes; BIU prefetches instructions - queue pipeline
Write this relation with symbols exactly as in Microprocessor Architecture & Programming — Ramesh Gaonkar before substituting numbers. Examiners award partial marks for a correct setup even when arithmetic slips.

Fundamentals and definitions

Four segment registers (CS, DS, SS, ES) point to the code, data, stack and extra segments; each segment is up to 64 KB. The instruction pointer IP is the offset within the code segment.

Governing relations in practice

General registers AX, BX, CX, DX can be used as 16-bit or as two 8-bit halves (AH/AL etc.). CX is the default loop counter, and the stack pointer SP indexes the stack segment.

Design and analysis considerations

The flag register records the result of operations: zero (ZF), carry (CF), sign (SF), parity (PF), overflow (OF) and auxiliary carry (AF), used by conditional jumps.

Assumptions and validity limits

State assumptions explicitly before using any relation for 8086 architecture — steady state, uniform properties, linear elastic material, ideal gas, incompressible flow, etc., as applicable.
Wrong assumptions invalidate the entire solution even when the formula is correct. In Microprocessors viva and GATE descriptive questions, listing valid assumptions often earns separate marks.

Step-by-step problem approach

1. Read the question and list given data with SI units (common in Microprocessors papers).
2. Draw a neat labelled diagram where applicable — examiners in Indian universities award diagram marks even when arithmetic slips.
3. Identify which relation from this topic applies to 8086 architecture.
4. Use equation 1:
Physicaladdress=Physical address =
.
5. Use equation 2:
8086:16bitdatabus,20bitaddress,1MBaddressspace8086: 16-bit data bus, 20-bit address, 1 MB address space
.
6. Substitute values, compute, and verify units and sign (direction).
7. State conclusion in one line — e.g. safe/unsafe, stable/unstable, feasible/infeasible.

Applications & exam relevance

8086 Architecture appears in embedded and industrial controllers. In Indian electrical curricula this topic is tested because it connects theory to 8086 architecture and interfacing.
GATE and semester exams often combine 8086 architecture with earlier units — revise prerequisites before attempting mixed problems.
Industry interview panels sometimes ask: "Where did you use 8086 architecture?" — answer with a lab, mini-project, or plant visit example if possible.

Common mistakes in exams

• Adding segment and offset directly without the ×16 (shift) on the segment
• Forgetting each segment is limited to 64 KB
• Confusing logical (segment:offset) and physical addresses
• Mixing up which flag a given conditional jump tests

Quick revision checklist

Before attempting 8086 architecture problems, confirm you can:
1. General registers: AX, BX, CX, DX with high/low bytes
2. Segment registers CS, DS, SS, ES for code, data, stack, extra
3. Flags: ZF, CF, SF, PF, OF, AF after arithmetic
Revise the solved examples in Microprocessor Architecture & Programming — Ramesh Gaonkar and one previous-year GATE or university paper for this unit.

Worked examples

Try the problem first — open the solution when you are ready to check.

Physical address from segment:offset

Problem

Find the physical address for the logical address CS:IP = 2000H:0450H.

Solution

Physical address = (Segment × 10H) + Offset.
Segment × 10H = 2000H × 10H = 20000H.
Add offset: 20000H + 0450H = 20450H.
Physical address = 20450H.

Conceptual check — 8086 Architecture

Problem

In a Microprocessors semester or GATE paper you are asked: "State the main assumption, the governing relation, and one practical consequence of 8086 architecture." What should a complete answer include?

Exams & GATE

Gaonkar — compute physical address from segment:offset.

📖 Standard books (India)

  • Microprocessor Architecture & ProgrammingRamesh Gaonkar

    Read: Syllabus unit

    8085/8086 — widely used in Indian colleges