Hello! Welcome to Embedic!
This website uses cookies. By using this site, you consent to the use of cookies. For more information, please take a look at our Privacy Policy.
Home > Embedded Events > The Complete Guide about 8086 Microprocessor

The Complete Guide about 8086 Microprocessor

Date: 07-12-2022 ClickCount: 618

What is 8086 microprocessor

 

The Intel 8086 is a 16-bit microprocessor chip designed by Intel in 1978 and is the originator of the x86 architecture. Soon after, Intel introduced the Intel 8088 (a microprocessor with 8 external data buses). It was based on the 8080 and 8085 designs and had a similar register set, but the data bus was expanded to 16 bits. The Bus Interface Unit gives the ExecuTIon Unit a 6-byte prefixed queue of bit instructions, so instruction fetching and execution are synchronized. Each memory cell can hold one byte (8 bits) of binary information.

 

Features of 8086 microprocessor

 

  • Parallel pipelined operation by setting instruction prefetch queues
  • Memory space segmentation management, addressing 1MB space
  • Supports multi-processor systems; operates in both minimum and maximum modes
  • 16-bit internal structure, 16-bit bidirectional data signal lines.
  • 20-bit address signal lines for addressing 1M byte memory cells.
  • Stronger instruction system.
  • I/O port addressing using the 16th bit address bus, which can address 64K I/O ports.
  • strong interrupt capability, handling internal software interrupts and external interrupts, with up to 256 interrupt sources.
  • A single +5V power supply with a single-phase clock of 5MHz.

 

8086 Microprocessor Architecture

 

The Intel 8086 microprocessor is a representative processor with which various subsequent microprocessors have remained compatible.

 

  • The 8086 microprocessor uses a +5V power supply
  • 40-pin dual in-line package
  • Clock frequency is 5MHz~10MHz
  • 16 data lines and 20 address lines, addressable memory address space up to 1MB (220B)

 

8086 microprocessor architecture

 

Instruction execution components EU

 

  • Arithmetic logic operation unit ALU

         Performs 8-bit or 16-bit binary arithmetic and logic operations.

         The operation results are sent to general-purpose registers or flag registers or written to memory.

  • FR flag register

         Store the result characteristics of ALU operation or machine operation status.

  • Data temporary storage register

         Temporary storage of the operands participating in the operation, not programmable.

  • General-purpose register set

          Four 16-bit data registers: AX, BX, CX, DX.

          Four 16-bit address pointer and variable address registers: SP, BP, SI, DI.

  • EU control circuit

         Receives instructions from the BIU instruction queue and forms various timing control signals through instruction decoding to achieve specific timing               operations for each EU component.

 

Bus Interface Unit BIU

 

Completes information transfer between CPU, memory, and I/O interface according to EU's request.

 

Providing fetching instructions from the memory to send to the instruction queue or directly to the EU for execution.

 

Fetch data from memory or peripheral to send to EU, or send the result of EU operation to memory or peripheral.

 

  • Four 16-bit segment address registers

         CS: Code Segment Register; DS: Data Segment Register; SS: Stack Segment Register; ES: Extended (additional) Data Segment Register.

  •  16-bit Instruction Pointer Register IP

          Holds the offset address (effective address EA) of the next instruction to be executed.

  • 20-bit address adder

         Converts the 16-bit logical address into a 20-bit physical address of the access memory to complete the address addition operation.

  • 6-byte instruction queue

         Pre-stores 6 bytes of instruction code.

  • Bus Control Circuit

         Sends bus control signals. Connects the 8086 CPU internal bus to the external bus.

 

8086 functionally divided into: execution component EU; bus interface component BIU

 

When there are 2 bytes free in the 8086 instruction queue, the bus interface part automatically prefetches instructions from memory into the instruction queue buffer.

 

When the EU component wants to execute an instruction, it takes out the instruction from the head of the instruction queue, and subsequent instructions are automatically advanced.

 

If the EU needs to access memory or I/O devices during instruction execution, the EU requests a bus cycle from the BIU and responds immediately if the BIU bus is free, or responds to the EU's bus request when the fetch operation is complete if the BIU is fetching an instruction.

 

When a transfer, call, or return instruction is encountered, the BIU automatically clears the existing contents of the instruction queue, starts from the new address of the transfer, call, or return, pre-reads the instruction from memory again, and fills the instruction queue.

 

These two parts neither work in a synchronous manner nor are they completely independent, but work in conjunction with each other.

 

8086 Microprocessor Pin Diagram

 

8086 microprocessor pin diagram

The 8086 CPU has 40 pins. It can be divided into 5 types of signals.

 

16-bit data lines: AD0 to AD15

 

20-bit address line: AD0 to AD19

 

Direct addressable space is 1M bytes. The address/data bus is time-division multiplexed. The rest are status lines, control signal lines, power supply, ground lines, etc.

 

16 address/data buses

 

  • AD15-AD0 (2-16, tri-state): Address/data multiplexing signal, input/output pins, input/output of low 16-bit address signal and data signal.
  • The address/data bus is time-demultiplexed.
  • Bus time-division multiplexing: The same bus transmits different signals at different times. 8086 uses bus time-division multiplexing method to reduce the number of CPU pins without affecting CPU functions, which simplifies the system.

 

16 address

Four address/status lines

  • A19/S6A16/S3 (3538, tri-state): address/status signals, output pins.
  • In the first clock cycle of the memory operation bus cycle, the 20-bit address high 4 bits A19A16 are output to form a 20-bit address signal with AD15AD0.
  • The other clock cycles output status signals S6~S3, where S6 is 0, indicating that the 8086 CPU is currently connected to the bus; S5 is 1 indicating that the 8086 CPU can respond to a maskable interrupt.
  • S4 and S3 have four combined states, indicating the currently used segment registers, 00-ES, 01-SS, 10-CS, 11-DS.

 

Nine control buses

  • BHE/ S7 (34, tri-state): High 8-bit data allow/status multiplexing signal, output.
  • The bus high byte allow signal BHE is output on the first clock cycle of the bus cycle, indicating that the data on the high 8-bit data lines D15-D8 is valid.
  • The rest of the clock cycles output status S7 .
  • BHE is used in conjunction with address line A0 to generate the selection signal for the memory body.

 

RD (32, tri-state)

 

  • Read control output signal, active low, is used to indicate that a read operation is to be performed on a memory cell or I/O port, depending on the control signal M/IO, depending on whether the memory cell or I/O port is to be read.
  • Tri-state of CPU part pins
  • By tri-state, we mean that the bus output can have three states: high, low and high resistance state. When in the high resistance state, the bus is logically and electrically disconnected from all connected loads.

 

READY(22): "Ready" status signal input, active high. The "Ready" pin receives a "ready" status signal from the memory or I/O to the CPU. It indicates that the memory or I/O is ready for read/write operation. Coordinates the communication signal between the CPU and the memory or I/O for information transfer.

 

TEST(23): Test signal input, active low. TEST signal is used in combination with WAIT instruction, after the CPU executes WAIT instruction, it is in wait state, when TEST pin input low, the system is out of wait state and continues to execute the suspended instruction.

 

INTR(18): Maskable interrupt request signal input pin, introducing interrupt request signal from interrupt source to CPU, active high.

 

NMI(17) Non-maskable interrupt request signal input pin, active high. This signal is not affected by the state of interrupt allow flag IF, NMI has higher priority than INTR.

 

RESET(21): reset signal input, active high. After reset signal input, CPU ends the current operation and clears the processor's flag register, IP, DS, SS, ES registers and instruction queue, while setting CS to 0FFFFH.

 

CLK/(19): clock signal input, the clock frequency of 8086 CPU is 5MHz, that is, the frequency of the clock signal input from this pin is 5MHz.

 

MN/MX(33): min/max mode setting signal input pin.

  • The high or low level of this input pin determines whether the CPU works in minimum or maximum mode.
  • When this pin is connected to +5V, the CPU works in minimum mode, and when this pin is grounded, the CPU works in maximum mode.

 

Power and ground lines 3: VCC (40), GND (1, 20): power, ground pins, 8086 CPU uses a single +5 V power supply, there are two ground pins.

 

FAQs about 8086 Microprocessor

 

Q1. Why it is called 8086 microprocessor?

 

In June 1978, INTEL introduced the 8086 microprocessor with 4.77MHz main frequency, 16-bit registers, 16-bit data bus and 29,000 transistors of 3-micron technology, marking the third generation of microprocessors.

 

Q2. How many pins are there in 8086? How many pins does 8086 have?

 

40.

 

Q3. Is 8086 a RISC or CISC?

 

CISC.

 

Q4. What are Applications of 8086 Microprocessor?

 

1. Microcomputers are built using the 8086. For example, the IBM PC uses the Intel 8088, which is an 8086 version with an 8-bit data bus.

2. It is used in computers

3. It is used for control purposes, such as in traffic signals (using a microcontroller containing only one or more CPUs as well as memory and editable I/O peripherals)

 

  • What is a 16-bit Microcontroller
  • Difference between RISC and CISC Processor (Architecture) 2022

Hot Products

  • TMS320C6747BZKB4

    Manufacturer: Texas Instruments

    IC DSP FIX/FLOAT POINT 256BGA

    Product Categories: DSP

    Lifecycle:

    RoHS:

  • ADSP-BF547YBCZ-4A

    Manufacturer: Analog Devices

    IC DSP BLACKFIN 400MHZ 400CSBGA

    Product Categories: DSP

    Lifecycle:

    RoHS:

  • TMX320DM8168BCYG2

    Manufacturer: Texas Instruments

    IC DGTL MEDIA PROCESSR 1031FCBGA

    Product Categories: DSP

    Lifecycle:

    RoHS:

  • TMX320DM365BZCE

    Manufacturer: Texas Instruments

    IC DIGITAL MEDIA SOC 338NFBGA

    Product Categories: SOC

    Lifecycle:

    RoHS:

Customer Comments

  • Looking forward to your comment

  • Comment

    Verification Code * 

Compare products

Compare Empty