Professional Documents
Culture Documents
EET 2211
4TH SEMESTER – CSE & CSIT
OVERVIEW OF 8086 MICROPROCESSOR
OVERVIEW OF 8086
MICROPROCESSOR
TOPICS TO BE COVERED
Production started in
May, eventually the
8086 was officially
released on June 8.
BP
DATA
DS
SEGMENT
SI
ES EXTRA
SEGMENT
DI
8086 has two blocks: BIU and EU.
The BIU handles all transactions of data and address on
the buses for EU.
The BIU performs all bus operations such as instruction
fetching, reading and writing operands for memory and
calculating the addresses of the memory operands. The
instruction bytes are transferred to the instruction queue.
EU executes instructions from the instruction system
byte queue.
BIU contains Instruction queue, Segment registers,
Instruction pointer and Address adder.
EU contains Control circuitry, Instruction decoder, ALU,
Pointer and index register and Flag register.
17 8086 MICROPROCESSOR 04/14/2022
EU (Execution Unit)
Decodes instructions fetched by the BIU.
Generates control signals.
Executes instructions.
Instruction Decoder
Control System
Arithmetic Logic unit
General Purpose Registers
Flag Register
Pointer and Index Registers
CONTROL SYSTEM
Generates timing and control signals to perform the
internal operations of the microprocessor.
CF Holds the carry after addition or the borrow after subtraction. Also indicates
some error conditions as dictated by some programs and procedures.
PF PF=0= odd parity ; PF=1=even parity
AF Holds the carry (half carry) after addition or borrow after subtraction between
bit positions 3 and 4 of the result (e.g. in BCD addition or subtraction)
ZF Shows the result of the arithmetic or logic operation.
When EU is busy decoding or executing current instruction, the buses of 8086 may
not be in use.
At that time, BIU can use buses to fetch up to six instruction bytes for the following
instructions.
BIU stores these pre-fetched bytes in a FIFO register called Instruction Queue.
When EU is ready for its next instruction, it simply reads the instruction from the
queue in BIU.
8086 can work with only four 64KB segments at a time within this
1MB range.
STACK SEGMENT
A section of memory set aside to store address and data
while a subprogram executes. It is sued as a stack and is
used to store the return address.
A segment register stores only upper 16 bits of the starting address of the
corresponding segments.
The 1-bit contents of the segment registers in the BIU actually points to the
starting location of a particular segment.
BIU always inserts zeros for the lowest 4-bits of the 20-bit starting address.
A 64-KB segment can be located anywhere in the memory, bus will start at an
address with zero in the lowest 4-bits.
It is a 16-bit register.
It is located in BIU.
It is located in EU.
CS:IP
SS:SP – SS:BP
DS:BX – DS:SI
•Operand
• Indirect Addressing Diagram
•Instruction
•Opcode •Address A
•Memory
•Pointer to operand
•Operand
• Register Addressing Diagram
•Instruction
•Opcode •Register Address R
•Registers
•Operand
• Register Indirect Addressing
Diagram
•Instruction
•Opcode •Register Address R
•Memory
•Registers
•Registers
•Displacement •+ •Operand
APPLICATIONS OF 8086
Gaming devices.
Mobile phones, laptops and electronic gadgets.
Traffic light controllers
Home appliances like washing machines and
microwave ovens.
Frequency counters and synthesizers.
Digital clocks.