SlideShare a Scribd company logo
8086 Microprocessor
D. ASWINI
ASSISTANT PROFESSOR
What is Microprocessor?
 A microprocessor is a multipurpose,
programmable, clock-driven, register-
based electronic device.
 Reads binary instructions from a storage
device called memory
 Accepts binary data as input and
processes data according to those
instructions and provide results as output
 Microprocessor is a single IC package in
which a number of useful functions are
integrated and fabricated on a single
silicon semiconductor chip
Introduction
 8086 is a 16-bit μp.
 8086 has a 20 bit address bus can access up to 220
memory locations (1 MB).
 Address ranges from 00000H to FFFFFH

3

 introduction
 Memory is byte addressable - Every byte has a separate address.
 It has 16 bit Databus.
 Word size is 16 bits.
 It has multiplexed address and data bus AD0- AD15 and A16 – A19.
 8086 is designed to operate in two modes, Minimum and Maximum.
 It can prefetch up to 6 instruction bytes from memory and queues them in order
to speed up instruction execution.
 It requires +5V power supply.
 A 40 pin dual in line package.
4
8086 Architecture
Internal architecture of 8086
 8086 has two blocks BIU and EU.
 The BIU handles all transactions of data and addresses on the buses for EU.
 BIU performs all bus operations such as instruction fetching, reading and
writing operands for memory and calculating addresses of the memory
operands. The instruction bytes are transferred to the instruction queue.
 EU executes instructions from the instruction system byte queue.
 Both units operate asynchronously to give the 8086 an overlapping
instruction fetch and execution mechanism which is called as
Pipelining. This results in efficient use of the system bus and system
performance.
 BIU contains Instruction queue, Segment registers, Instruction pointer,
Address adder.
 EU contains Control circuitry, Instruction decoder, ALU, Pointer and
Index register, Flag register.
7
BUS INTERFACE UNIT (BIU)
Contains
 6-byte Instruction Queue (Q)
 The Segment Registers (CS, DS, ES, SS).
 The Instruction Pointer (IP)
 The Address Summing block (Σ) – To generate 20 bit address
8
Instruction Queue
 The BIU uses a mechanism known as an instruction stream queue
to implement a pipeline architecture.
 This queue permits pre-fetch of up to 6 bytes of instruction code.
 BIU is free to look ahead in the program by pre-fetching the next
sequential instruction.
 These pre-fetching instructions are held in its FIFO queue. With its
16 bit data bus, the BIU fetches two instruction bytes in a single
memory cycle.
 The EU accesses the queue from the output end. It reads one
instruction byte after the other from the output of the queue.
9
Pipelining
Memory Segmentation
Code segment (64KB)
Data segment (64KB)
Extra segment (64KB)
Stack segment (64KB)
1MB
The memory in an 8086/88 based system is organized
as segmented memory.
8086 addresses 1MB of memory
The physical memory may be divided into logical
segments.
The 4 segments are Code, Data, Extra and Stack
The size of each segment is 64 KB
• A segment begins at a location which is divisible by
16(10H) Each of these segments can be used for a
specific function.
• Code segment is used for storing the instructions.
• stack segment is used as a stack and used to store
the return address.
• Data and extra segments are used for storing data
bytes.
• In the assembly language programming, more
than one data/ code/ stack segments can be
defined. But only one segment of each type can be
accessed at any time.
00000
FFFFF
Physical Memory
The 16 bit
contents of the
segment registers
in the BIU actually
point to the
starting location
of a particular
segment.
Segments may be
overlapped or
non-overlapped
Advantages of Segmented memory Scheme
 Allows the memory capacity to be 1Mb although the actual
addresses are of 16 bit size.
 Allows the placing of code, data and stack portions of the same
program in different parts (segments) of the m/y, for data and
code protection.
 Permits a program / data to be put into different areas of memory
each time program is executed, i.e. provision for relocation may
be done .
 segment registers are used to allow the instruction, data or stack
portion of a program to be more than 64Kb long by using more
than one code, data or stack segments.
13
34BA
44EB
54EB
695E
14
CSR
DSR
ESR
SSR
Segment Registers
BIU
CODE (64k)
DATA (64K)
EXTRA (64K)
STACK (64K)
1MB
00000
34BA0
44B9F
44EB0
54EAF
54EB0
64EAF
695E0
795DF
Each segment register store the
upper 16 bit of the starting address
of the segments
MEMORY
Instruction pointer & summing block
 Instruction pointer register contains a 16-bit offset address of instruction that
is to be executed next.
 IP always references the Code segment register (CS).
 The value contained in the IP is called as an offset as this value must be
added to the base address of the code segment to find the 20-bit physical
address.
 IP is incremented after executing every instruction.
 To form a 20bit address of the next instruction, the 16 bit address of the IP is
added (by the address summing block) to the address contained in the CS
, which has been shifted four bits to the left.
15
16Address calculation
Example For Address Calculation (segment: offset)
 If the data segment starts at location 1000h and a data reference
contains the address 29h where is the actual data?
17
Required Address
Offset
Segment Address
0000 0000 0010 1001
0000
0001 0000 0000 0010 1001
0001 0000 0000 0000
Segment and Address register combination
 CS:IP
 SS:SPSS:BP
 DS:BX DS:SI
 DS:DI (for other than string operations)
 ES:DI (for string operations)
18
EXECUTION UNIT
 Decodes instructions fetched by the BIU
 Generate control signals,
 Executes instructions.
The main parts are:
 Control Circuitry
 Instruction decoder
 ALU
19
EXECUTION UNIT – General Purpose Registers
AH AL
BH BL
CH CL
DH DL
SP
BP
SI
DI
20
8 bits 8 bits
16 bits
Accumulator
Base
Count
Data
Stack Pointer
Base Pointer
Source Index
Destination Index
AX
BX
CX
DX
Pointer
Index
8 bits 8 bits
16 bits
Accumulator
Base
Count
Data
Stack Pointer
Base Pointer
Source Index
Destination Index
Pointer And Index Registers
 used to keep offset addresses.
 Used in various forms of memory addressing.
 In the case of SP and BP the default reference to form a physical address is the
Stack Segment.
 The index registers (SI & DI) and the BX generally default to the Data segment
register (DS).
21
SP: Stack pointer
– Used with SS to access the stack segment
BP: Base Pointer
– Primarily used to access data on the stack
– Can be used to access data in other segments
 SI: Source Index register
– is required for some string operations
–SI is associated with the data segment (DS) reg. in string operations.
 DI: Destination Index register
– is also required for some string operations.
– DI is associated with ES register in string operations.
 The SI and the DI registers may also be used to access data stored in arrays.
22
Control Circuit
 Instruction Register and Instruction Decoder: (Present
inside the Control Unit) The EU fetches an opcode
from the queue into the instruction register. The
instruction decoder decodes it and sends the
information to the control circuit for execution.
Flag Register
Memory banking
Features of 8086
 It has an instruction queue, which is capable of storing six instruction bytes
from the memory resulting in faster processing.
 It was the first 16-bit processor having 16-bit ALU, 16-bit registers, internal data
bus, and 16-bit external data bus resulting in faster processing.
 It is available in 3 versions based on the frequency of operation −
 8086 → 5MHz
 8086-2 → 8MHz
 8086-1 → 10 MHz
 It uses two stages of pipelining, i.e. Fetch Stage and Execute Stage, which
improves performance.
 Fetch stage can prefetch up to 6 bytes of instructions and stores them in the
queue.
 Execute stage executes these instructions.
 It has 256 vectored interrupts.
8086 Pin Details
PIN Details
 Intel 8086 is a 16-bit HMOS microprocessor.
 It is available in 40 pin DIP chip
 It uses a 5V DC supply for its operation
 The 8086 uses 20-line address bus
 It has a 16-line data bus. The 20 lines of the address
bus operate in multiplexed mode
 The 16-low order address bus lines have been
multiplexed with data and 4 high-order address bus
lines have been multiplexed with status signals.
PIN Details
 AD0-AD15 : Address/Data bus. These are low order
address bus. They are multiplexed with data. When
AD lines are used to transmit memory address the
symbol A is used instead of AD, for example A0-A15.
When data are transmitted over AD lines the symbol
D is used in place of AD, for example D0-D7, D8-D15
or D0-D15.
 A16-A19 : High order address bus. These are
multiplexed with status signals.
PIN DIAGRAM
 A16/S3, A17/S4, A18/S5, A19/S6 : The specified
address lines are multiplexed with corresponding
status signals.
Pin details
Pin details

More Related Content

What's hot

8086 in minimum mode
8086 in minimum mode8086 in minimum mode
8086 in minimum mode
Sridari Iyer
 
8086 new
8086 new8086 new
8086-instruction-set-ppt
 8086-instruction-set-ppt 8086-instruction-set-ppt
8086-instruction-set-pptjemimajerome
 
Memory Segmentation of 8086
Memory Segmentation of 8086Memory Segmentation of 8086
Memory Segmentation of 8086
Nikhil Kumar
 
Memory segmentation-of-8086
Memory segmentation-of-8086Memory segmentation-of-8086
Memory segmentation-of-8086
mudulin
 
1326 Introduction To 8086 Microprocessor
1326 Introduction To 8086 Microprocessor1326 Introduction To 8086 Microprocessor
1326 Introduction To 8086 Microprocessor
techbed
 
Registers
RegistersRegisters
Registers
waqar bashir
 
INTEL 80386 MICROPROCESSOR
INTEL  80386  MICROPROCESSORINTEL  80386  MICROPROCESSOR
INTEL 80386 MICROPROCESSOR
Annies Minu
 
Internal architecture-of-8086
Internal architecture-of-8086Internal architecture-of-8086
Internal architecture-of-8086
Estiak Khan
 
Addressing Modes Of 8086
Addressing Modes Of 8086Addressing Modes Of 8086
Addressing Modes Of 8086
Ikhlas Rahman
 
8086
80868086
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
prasadpawaskar
 
8086 Microprocessor
8086 Microprocessor8086 Microprocessor
8086 Microprocessor
Avinash Rouniyar
 
8251 USART
8251 USART8251 USART
8251 USART
coolsdhanesh
 
SAURABH MITRA-8086 MICROPROCESSOR
SAURABH MITRA-8086 MICROPROCESSORSAURABH MITRA-8086 MICROPROCESSOR
SAURABH MITRA-8086 MICROPROCESSOR
SAURABH MITRA
 
8086 micro processor
8086 micro processor8086 micro processor
8086 micro processor
Poojith Chowdhary
 
System bus timing 8086
System bus timing 8086System bus timing 8086
System bus timing 8086
mpsrekha83
 

What's hot (20)

8086 in minimum mode
8086 in minimum mode8086 in minimum mode
8086 in minimum mode
 
8086 new
8086 new8086 new
8086 new
 
8086-instruction-set-ppt
 8086-instruction-set-ppt 8086-instruction-set-ppt
8086-instruction-set-ppt
 
Memory Segmentation of 8086
Memory Segmentation of 8086Memory Segmentation of 8086
Memory Segmentation of 8086
 
Memory segmentation-of-8086
Memory segmentation-of-8086Memory segmentation-of-8086
Memory segmentation-of-8086
 
Introduction to 80386
Introduction to 80386Introduction to 80386
Introduction to 80386
 
1326 Introduction To 8086 Microprocessor
1326 Introduction To 8086 Microprocessor1326 Introduction To 8086 Microprocessor
1326 Introduction To 8086 Microprocessor
 
Registers
RegistersRegisters
Registers
 
8086 Architecture
8086 Architecture8086 Architecture
8086 Architecture
 
INTEL 80386 MICROPROCESSOR
INTEL  80386  MICROPROCESSORINTEL  80386  MICROPROCESSOR
INTEL 80386 MICROPROCESSOR
 
Internal architecture-of-8086
Internal architecture-of-8086Internal architecture-of-8086
Internal architecture-of-8086
 
Addressing Modes Of 8086
Addressing Modes Of 8086Addressing Modes Of 8086
Addressing Modes Of 8086
 
8086 architecture By Er. Swapnil Kaware
8086 architecture By Er. Swapnil Kaware8086 architecture By Er. Swapnil Kaware
8086 architecture By Er. Swapnil Kaware
 
8086
80868086
8086
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
 
8086 Microprocessor
8086 Microprocessor8086 Microprocessor
8086 Microprocessor
 
8251 USART
8251 USART8251 USART
8251 USART
 
SAURABH MITRA-8086 MICROPROCESSOR
SAURABH MITRA-8086 MICROPROCESSORSAURABH MITRA-8086 MICROPROCESSOR
SAURABH MITRA-8086 MICROPROCESSOR
 
8086 micro processor
8086 micro processor8086 micro processor
8086 micro processor
 
System bus timing 8086
System bus timing 8086System bus timing 8086
System bus timing 8086
 

Similar to 8086 architecture and pin description

Presentation on 8086 microprocessor
Presentation on 8086 microprocessorPresentation on 8086 microprocessor
Presentation on 8086 microprocessor
Diponkor Bala
 
8086 microprocessor introduction
8086 microprocessor introduction8086 microprocessor introduction
8086 microprocessor introduction
Aakash Ugale
 
Intel 8086 microprocessor
Intel 8086 microprocessorIntel 8086 microprocessor
Intel 8086 microprocessor
Ravi Yasas
 
8086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp018086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp01jemimajerome
 
Students corner131
Students corner131Students corner131
Students corner131
Satti286
 
Module 1 8086
Module 1 8086Module 1 8086
Module 1 8086
Deepak John
 
8086 archi notes final
8086 archi notes final8086 archi notes final
8086 archi notes final
HarshitParkar6677
 
8086 archi notes final
8086 archi notes final8086 archi notes final
8086 archi notes final
HarshitParkar6677
 
Mpi chapter 2
Mpi chapter 2Mpi chapter 2
Mpi chapter 2
birhanugirmay
 
Architecture of 8086 microprocessor
Architecture of  8086 microprocessorArchitecture of  8086 microprocessor
Architecture of 8086 microprocessor
Anirban Saha Anik
 
8086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp018086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp01destaw belay
 
8086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp018086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp01Siva Raman
 
Introduction to 8086 Microprocessors.ppt
Introduction to 8086 Microprocessors.pptIntroduction to 8086 Microprocessors.ppt
Introduction to 8086 Microprocessors.ppt
SasiBhushan22
 
3 organization of intel 8086
3 organization of intel 80863 organization of intel 8086
3 organization of intel 8086ELIMENG
 
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessor
VEERA BOOPATHY E
 
Advanced micro -processor
Advanced micro -processorAdvanced micro -processor
Advanced micro -processor
Hinal Lunagariya
 
Arch 8086
Arch 8086Arch 8086
Arch 8086
Mohansonale1
 
microprocessor_part_3_compressed_1588259301.pdf
microprocessor_part_3_compressed_1588259301.pdfmicroprocessor_part_3_compressed_1588259301.pdf
microprocessor_part_3_compressed_1588259301.pdf
ssuserd21262
 
fco-lecture-8086
fco-lecture-8086fco-lecture-8086
fco-lecture-8086
24happy24
 

Similar to 8086 architecture and pin description (20)

Presentation on 8086 microprocessor
Presentation on 8086 microprocessorPresentation on 8086 microprocessor
Presentation on 8086 microprocessor
 
8086 microprocessor introduction
8086 microprocessor introduction8086 microprocessor introduction
8086 microprocessor introduction
 
Intel 8086 microprocessor
Intel 8086 microprocessorIntel 8086 microprocessor
Intel 8086 microprocessor
 
8086ppt
8086ppt8086ppt
8086ppt
 
8086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp018086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp01
 
Students corner131
Students corner131Students corner131
Students corner131
 
Module 1 8086
Module 1 8086Module 1 8086
Module 1 8086
 
8086 archi notes final
8086 archi notes final8086 archi notes final
8086 archi notes final
 
8086 archi notes final
8086 archi notes final8086 archi notes final
8086 archi notes final
 
Mpi chapter 2
Mpi chapter 2Mpi chapter 2
Mpi chapter 2
 
Architecture of 8086 microprocessor
Architecture of  8086 microprocessorArchitecture of  8086 microprocessor
Architecture of 8086 microprocessor
 
8086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp018086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp01
 
8086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp018086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp01
 
Introduction to 8086 Microprocessors.ppt
Introduction to 8086 Microprocessors.pptIntroduction to 8086 Microprocessors.ppt
Introduction to 8086 Microprocessors.ppt
 
3 organization of intel 8086
3 organization of intel 80863 organization of intel 8086
3 organization of intel 8086
 
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessor
 
Advanced micro -processor
Advanced micro -processorAdvanced micro -processor
Advanced micro -processor
 
Arch 8086
Arch 8086Arch 8086
Arch 8086
 
microprocessor_part_3_compressed_1588259301.pdf
microprocessor_part_3_compressed_1588259301.pdfmicroprocessor_part_3_compressed_1588259301.pdf
microprocessor_part_3_compressed_1588259301.pdf
 
fco-lecture-8086
fco-lecture-8086fco-lecture-8086
fco-lecture-8086
 

Recently uploaded

Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
ShahidSultan24
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
MuhammadTufail242431
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
Kamal Acharya
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
ssuser9bd3ba
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
PrashantGoswami42
 

Recently uploaded (20)

Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 

8086 architecture and pin description

  • 2. What is Microprocessor?  A microprocessor is a multipurpose, programmable, clock-driven, register- based electronic device.  Reads binary instructions from a storage device called memory  Accepts binary data as input and processes data according to those instructions and provide results as output  Microprocessor is a single IC package in which a number of useful functions are integrated and fabricated on a single silicon semiconductor chip
  • 3. Introduction  8086 is a 16-bit μp.  8086 has a 20 bit address bus can access up to 220 memory locations (1 MB).  Address ranges from 00000H to FFFFFH  3
  • 4.   introduction  Memory is byte addressable - Every byte has a separate address.  It has 16 bit Databus.  Word size is 16 bits.  It has multiplexed address and data bus AD0- AD15 and A16 – A19.  8086 is designed to operate in two modes, Minimum and Maximum.  It can prefetch up to 6 instruction bytes from memory and queues them in order to speed up instruction execution.  It requires +5V power supply.  A 40 pin dual in line package. 4
  • 6.
  • 7. Internal architecture of 8086  8086 has two blocks BIU and EU.  The BIU handles all transactions of data and addresses on the buses for EU.  BIU performs all bus operations such as instruction fetching, reading and writing operands for memory and calculating addresses of the memory operands. The instruction bytes are transferred to the instruction queue.  EU executes instructions from the instruction system byte queue.  Both units operate asynchronously to give the 8086 an overlapping instruction fetch and execution mechanism which is called as Pipelining. This results in efficient use of the system bus and system performance.  BIU contains Instruction queue, Segment registers, Instruction pointer, Address adder.  EU contains Control circuitry, Instruction decoder, ALU, Pointer and Index register, Flag register. 7
  • 8. BUS INTERFACE UNIT (BIU) Contains  6-byte Instruction Queue (Q)  The Segment Registers (CS, DS, ES, SS).  The Instruction Pointer (IP)  The Address Summing block (Σ) – To generate 20 bit address 8
  • 9. Instruction Queue  The BIU uses a mechanism known as an instruction stream queue to implement a pipeline architecture.  This queue permits pre-fetch of up to 6 bytes of instruction code.  BIU is free to look ahead in the program by pre-fetching the next sequential instruction.  These pre-fetching instructions are held in its FIFO queue. With its 16 bit data bus, the BIU fetches two instruction bytes in a single memory cycle.  The EU accesses the queue from the output end. It reads one instruction byte after the other from the output of the queue. 9
  • 11. Memory Segmentation Code segment (64KB) Data segment (64KB) Extra segment (64KB) Stack segment (64KB) 1MB The memory in an 8086/88 based system is organized as segmented memory. 8086 addresses 1MB of memory The physical memory may be divided into logical segments. The 4 segments are Code, Data, Extra and Stack The size of each segment is 64 KB • A segment begins at a location which is divisible by 16(10H) Each of these segments can be used for a specific function. • Code segment is used for storing the instructions. • stack segment is used as a stack and used to store the return address. • Data and extra segments are used for storing data bytes. • In the assembly language programming, more than one data/ code/ stack segments can be defined. But only one segment of each type can be accessed at any time. 00000 FFFFF Physical Memory
  • 12. The 16 bit contents of the segment registers in the BIU actually point to the starting location of a particular segment. Segments may be overlapped or non-overlapped
  • 13. Advantages of Segmented memory Scheme  Allows the memory capacity to be 1Mb although the actual addresses are of 16 bit size.  Allows the placing of code, data and stack portions of the same program in different parts (segments) of the m/y, for data and code protection.  Permits a program / data to be put into different areas of memory each time program is executed, i.e. provision for relocation may be done .  segment registers are used to allow the instruction, data or stack portion of a program to be more than 64Kb long by using more than one code, data or stack segments. 13
  • 14. 34BA 44EB 54EB 695E 14 CSR DSR ESR SSR Segment Registers BIU CODE (64k) DATA (64K) EXTRA (64K) STACK (64K) 1MB 00000 34BA0 44B9F 44EB0 54EAF 54EB0 64EAF 695E0 795DF Each segment register store the upper 16 bit of the starting address of the segments MEMORY
  • 15. Instruction pointer & summing block  Instruction pointer register contains a 16-bit offset address of instruction that is to be executed next.  IP always references the Code segment register (CS).  The value contained in the IP is called as an offset as this value must be added to the base address of the code segment to find the 20-bit physical address.  IP is incremented after executing every instruction.  To form a 20bit address of the next instruction, the 16 bit address of the IP is added (by the address summing block) to the address contained in the CS , which has been shifted four bits to the left. 15
  • 17. Example For Address Calculation (segment: offset)  If the data segment starts at location 1000h and a data reference contains the address 29h where is the actual data? 17 Required Address Offset Segment Address 0000 0000 0010 1001 0000 0001 0000 0000 0010 1001 0001 0000 0000 0000
  • 18. Segment and Address register combination  CS:IP  SS:SPSS:BP  DS:BX DS:SI  DS:DI (for other than string operations)  ES:DI (for string operations) 18
  • 19. EXECUTION UNIT  Decodes instructions fetched by the BIU  Generate control signals,  Executes instructions. The main parts are:  Control Circuitry  Instruction decoder  ALU 19
  • 20. EXECUTION UNIT – General Purpose Registers AH AL BH BL CH CL DH DL SP BP SI DI 20 8 bits 8 bits 16 bits Accumulator Base Count Data Stack Pointer Base Pointer Source Index Destination Index AX BX CX DX Pointer Index 8 bits 8 bits 16 bits Accumulator Base Count Data Stack Pointer Base Pointer Source Index Destination Index
  • 21. Pointer And Index Registers  used to keep offset addresses.  Used in various forms of memory addressing.  In the case of SP and BP the default reference to form a physical address is the Stack Segment.  The index registers (SI & DI) and the BX generally default to the Data segment register (DS). 21
  • 22. SP: Stack pointer – Used with SS to access the stack segment BP: Base Pointer – Primarily used to access data on the stack – Can be used to access data in other segments  SI: Source Index register – is required for some string operations –SI is associated with the data segment (DS) reg. in string operations.  DI: Destination Index register – is also required for some string operations. – DI is associated with ES register in string operations.  The SI and the DI registers may also be used to access data stored in arrays. 22
  • 23. Control Circuit  Instruction Register and Instruction Decoder: (Present inside the Control Unit) The EU fetches an opcode from the queue into the instruction register. The instruction decoder decodes it and sends the information to the control circuit for execution.
  • 26. Features of 8086  It has an instruction queue, which is capable of storing six instruction bytes from the memory resulting in faster processing.  It was the first 16-bit processor having 16-bit ALU, 16-bit registers, internal data bus, and 16-bit external data bus resulting in faster processing.  It is available in 3 versions based on the frequency of operation −  8086 → 5MHz  8086-2 → 8MHz  8086-1 → 10 MHz  It uses two stages of pipelining, i.e. Fetch Stage and Execute Stage, which improves performance.  Fetch stage can prefetch up to 6 bytes of instructions and stores them in the queue.  Execute stage executes these instructions.  It has 256 vectored interrupts.
  • 28.
  • 29. PIN Details  Intel 8086 is a 16-bit HMOS microprocessor.  It is available in 40 pin DIP chip  It uses a 5V DC supply for its operation  The 8086 uses 20-line address bus  It has a 16-line data bus. The 20 lines of the address bus operate in multiplexed mode  The 16-low order address bus lines have been multiplexed with data and 4 high-order address bus lines have been multiplexed with status signals.
  • 30. PIN Details  AD0-AD15 : Address/Data bus. These are low order address bus. They are multiplexed with data. When AD lines are used to transmit memory address the symbol A is used instead of AD, for example A0-A15. When data are transmitted over AD lines the symbol D is used in place of AD, for example D0-D7, D8-D15 or D0-D15.  A16-A19 : High order address bus. These are multiplexed with status signals.
  • 31. PIN DIAGRAM  A16/S3, A17/S4, A18/S5, A19/S6 : The specified address lines are multiplexed with corresponding status signals.
  • 32.