SlideShare une entreprise Scribd logo
1  sur  27
Introduction of Microprocessor
4/27/2014SISTec Bhopal
1
PRESENTED BY: ASST. PROF. HARSHIT SAXENA
8086 MICROPROCESSOR
Unit 1
4/27/2014
2
SISTec Bhopal
8086 MICROPROCESSOR
 It is a 16 bit μp.
 8086 has a 20 bit address bus can access
upto 220 memory locations ( 1 MB) .
 It can support upto 64K I/O ports.
 It provides 14, 16-bit registers.
 It has multiplexed address and data bus
AD0- AD15 and A16 – A19
4/27/2014
3
SISTec Bhopal
GENERAL PURPOSE REGISTER
 8086 CPU has 8 general purpose registers, each
register has its own name:
 AX - the accumulator register (divided into AH / AL).
 BX - the base address register (divided into BH / BL).
 CX - the count register (divided into CH / CL).
 DX - the data register (divided into DH / DL).
 SI - source index register.
 DI - destination index register.
 BP - base pointer.
 SP - stack pointer.
4/27/2014
4
SISTec Bhopal
SEGMENT REGISTER
 In 8086 size of memory is 1MB and divided into 16 logical
segments. Each segment contain 64Kbytes.
 CS - points at the segment containing the current
program.
 DS - generally points at segment where variables are
defined.
 ES - extra segment register, it's up to a coder to define its
usage.
 SS – points at the segment containing the stack.
 Segment registers work together with general purpose
register to access any memory value. For example if we
would like to access memory at the physical address
12345h (hexadecimal), we should set the DS = 1230h
and SI = 0045h.
4/27/2014
5
SISTec Bhopal
SPECIAL PURPOSE REGISTER
 IP - the instruction pointer.
 IP register always works together with CS
segment register and it points to currently
executing instruction.
 Flags Register - determines the current state
of the processor.
4/27/2014
6
SISTec Bhopal
ARCHITECTURE OF 8086
4/27/2014
7
SISTec Bhopal
INTERNAL ARCHITECTURE OF 8086
 8086 has two blocks BIU and 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.
4/27/2014
8
SISTec Bhopal
ARCHITECTURE OF 8086(CONT…)
 Both units operate asynchronously to give the
8086 an overlapping instruction fetch and
execution mechanism which is called as
Pipelining.
 BIU also contain the circuitry for physical
address calculation.
 Segment address:1005H
 Offset address: 5555H
 Shifted by 4 bit : 0001 0000 0000 0101 0000
 Offset address: 0101 0101 0101 0101
 Physical Address: 0001 0101 0101 1010 0101
4/27/2014
9
SISTec Bhopal
 Segment address is 1005H.
 Segment size is 64k i.e. offset starting
address is 0000 – FFFFH.
 Segment Register indicates that the base
address of a particular segment while offset
indicates the distance of the required
memory location.
 In 8085 once the opcode is fetched and
decoded the external bus remains free for
some time.
 This time is utilized in 8086 by overlapping
the fetch and execute cycle.
4/27/2014
10
SISTec Bhopal
 The EU contains the register set of 8086
except segment registers and IP.
 It has 16 bit ALU able to perform Arithmetic
and logical operation.
 16 bit flag register which shows the status of
microprocessor.
 The timing and control units derives the
necessary control signal to execute the
instruction opcode received from queue..
 EU pass the results to BIU for storing them in
memory.
4/27/2014
11
SISTec Bhopal
ARCHITECTURE OF 8086(CONT…)
 If the queue is empty, the EU waits for the next
instruction byte to be fetched and shifted to top
of the queue.
 When the EU executes a branch or jump
instruction, it transfers control to a location
corresponding to another set of sequential
instructions.
 Whenever this happens, the BIU automatically
resets the queue and then begins to fetch
instructions from this new location to refill the
queue.
4/27/2014
12
SISTec Bhopal
INSTRUCTION QUEUE
 Queue permits prefetch of up to six bytes of instruction
code. When ever the queue of the BIU is not full, it has
room for at least two more bytes instruction.
 These prefetching 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.
 If the BIU is already in the process of fetching an
instruction when the EU request it to read or write
operands from memory or I/O, the BIU first completes the
instruction fetch bus cycle before initiating the operand
read / write cycle.
4/27/2014
13
SISTec Bhopal
FLAG REGISTER
 8086 has a 16 bit flag register and divided into
two parts
 Conditional code or status flag
 Machine control flags
 The conditional code flag register is the lower
bytes of the 16 bit flag register along with
overflow flag.
 The control flag register is the higher byte of the
flag register, contains direction flag(D), interrupt
flag(I), trap flag(T).
4/27/2014
14
SISTec Bhopal
FLAG REGISTER
X X X X O D I T S Z X Ac X P X Cy
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
O – Overflow Flag
D – Direction Flag
I – Interrupt Flag
T – Trap Flag
S – Sign Flag
Z – Zero Flag
Ac – Auxiliary carry Flag
P – Parity Flag
Cy – Carry Flag
X – Not used
4/27/2014
15
SISTec Bhopal
FLAG REGISTER (CONT….)
 Overflow Flag (OF) - set if the result is too large
positive number, or is too small negative number to fit
into destination operand.
 Direction Flag (DF) - if set then string manipulation
instructions will auto-decrement index registers. If cleared
then the index registers will be auto-incremented.
 Interrupt-enable Flag (IF) - setting this bit enables
maskable interrupts.
 Single-step Flag (TF) - if set then single-step interrupt
will occur after the next instruction.
 Sign Flag (SF) - set if the most significant bit of the
result is set.
 Zero Flag (ZF) - set if the result is zero.
4/27/2014
16
SISTec Bhopal
FLAG REGISTER (CONT….)
 Auxiliary carry Flag (AF) - set if there was
a carry from or borrow to bits 0-3 in the AL
register.
 Parity Flag (PF) - set if parity (the number
of "1“ its) in the low-order byte of the result
is even.
 Carry Flag (CF) - set if there was a carry
from or borrow to the most significant bit
during last result calculation.
4/27/2014
17
SISTec Bhopal
4/27/2014
18
SISTec Bhopal
MINIMUM AND MAXIMUM MODES:
 The minimum mode is selected by applying
logic 1 to the MN / MX# input pin. This is a
single microprocessor configuration.
 The maximum mode is selected by applying
logic 0 to the MN / MX# input pin. This is a
multi micro processors configuration.
4/27/2014
19
SISTec Bhopal
8086 SIGNALS ARE CLASSIFIED IN THREE
GROUPS
 First are the signals having common
functions in minimum as well as maximum
mode.
 Second are the signals which have special
functions for minimum mode.
 Third are the signals having special function
for maximum mode.
4/27/2014
20
SISTec Bhopal
4/27/2014
21
SISTec Bhopal
4/27/2014
22
SISTec Bhopal
MINIMUM MODE INTERFACE
 Address/Data Bus : these lines serve two
functions. As an address bus is 20 bits long
and consists of signal lines A0 through A19. A19
represents the MSB and A0 LSB. A 20bit
address gives the 8086 a 1Mbyte memory
address space.
 The 16 data bus lines D0 through D15 are
actually multiplexed with address lines A0
through A15 respectively. By multiplexed we
mean that the bus work as an address bus
during first machine cycle and as a data bus
during next machine cycles. D15 is the MSB
and D0 LSB.
4/27/2014
23
SISTec Bhopal
 Status signal : The four most significant
address lines A19 through A16 are also
multiplexed but in this case with status
signals S6 through S3. These status bits are
output on the bus at the same time that data
are transferred over the other bus lines.
 Bit S4 and S3 together form a 2 bit binary
code that identifies which of the 8086 internal
segment registers are used to generate the
physical address that was output on the
address bus during the current bus cycle.
4/27/2014
24
SISTec Bhopal
4/27/2014
25
SISTec Bhopal
 Status line S5 reflects the status of another
internal characteristic of the 8086. It is the
logic level of the interrupt enable flag. The
last status bit S6 is always at the logic 0
level.
 BUS HIGH ENABLE(BHE): Logic 0 on this
used as a memory enable signal for the most
significant byte half of the data bus D8
through D15.
 TEST : This input is examined by ‘WAIT’
Instruction. If the TEST# input goes low
execution will continue, else the processor
remains in an idle state.
4/27/2014
26
SISTec Bhopal
 ALE(Address latch enable): it shows the
availability of the valid address on the
address/data lines.
 DT/R# : used to decide the direction of data
flow through the transreceivers. This is
tristated during ‘HLDA’.
 DEN# : Indicates the availability of valid data
over the address/data bus.
 Lock#: This output pin indicates that other
system bus master will be prevented from
gaining the system bus while the LOCK#
signal is low.
4/27/2014
27
SISTec Bhopal

Contenu connexe

Tendances

Byte and string manipulation 8086
Byte and string manipulation 8086Byte and string manipulation 8086
Byte and string manipulation 8086mpsrekha83
 
80486 microprocessor
80486 microprocessor80486 microprocessor
80486 microprocessorMihika Shah
 
Memory Segmentation of 8086
Memory Segmentation of 8086Memory Segmentation of 8086
Memory Segmentation of 8086Nikhil Kumar
 
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkarSAQUIB AHMAD
 
8085 microprocessor architecture
8085 microprocessor architecture8085 microprocessor architecture
8085 microprocessor architectureArashdeepkaur16
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorRavi Anand
 
8086 modes
8086 modes8086 modes
8086 modesPDFSHARE
 
8086 class notes-Y.N.M
8086 class notes-Y.N.M8086 class notes-Y.N.M
8086 class notes-Y.N.MDr.YNM
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architectureprasadpawaskar
 
System bus timing 8086
System bus timing 8086System bus timing 8086
System bus timing 8086mpsrekha83
 
Pin Description Of Intel 80386 DX Microprocessor
Pin Description Of Intel 80386 DX MicroprocessorPin Description Of Intel 80386 DX Microprocessor
Pin Description Of Intel 80386 DX MicroprocessorRaunaq Sahni
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacingdeval patel
 
Dma and dma controller 8237
Dma and dma controller 8237Dma and dma controller 8237
Dma and dma controller 8237Ashwini Awatare
 

Tendances (20)

Byte and string manipulation 8086
Byte and string manipulation 8086Byte and string manipulation 8086
Byte and string manipulation 8086
 
80486 microprocessor
80486 microprocessor80486 microprocessor
80486 microprocessor
 
Memory Segmentation of 8086
Memory Segmentation of 8086Memory Segmentation of 8086
Memory Segmentation of 8086
 
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkar
 
8085 microprocessor architecture
8085 microprocessor architecture8085 microprocessor architecture
8085 microprocessor architecture
 
Pentium processor
Pentium processorPentium processor
Pentium processor
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 Microprocessor
 
8086 modes
8086 modes8086 modes
8086 modes
 
8086 class notes-Y.N.M
8086 class notes-Y.N.M8086 class notes-Y.N.M
8086 class notes-Y.N.M
 
8086 architecture By Er. Swapnil Kaware
8086 architecture By Er. Swapnil Kaware8086 architecture By Er. Swapnil Kaware
8086 architecture By Er. Swapnil Kaware
 
Unit 2 mpmc
Unit 2 mpmcUnit 2 mpmc
Unit 2 mpmc
 
8086 micro processor
8086 micro processor8086 micro processor
8086 micro processor
 
Lecture2
Lecture2Lecture2
Lecture2
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
 
System bus timing 8086
System bus timing 8086System bus timing 8086
System bus timing 8086
 
Pin Description Of Intel 80386 DX Microprocessor
Pin Description Of Intel 80386 DX MicroprocessorPin Description Of Intel 80386 DX Microprocessor
Pin Description Of Intel 80386 DX Microprocessor
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
 
Dma and dma controller 8237
Dma and dma controller 8237Dma and dma controller 8237
Dma and dma controller 8237
 
Introduction to 80386
Introduction to 80386Introduction to 80386
Introduction to 80386
 
Memory interfacing
Memory interfacingMemory interfacing
Memory interfacing
 

En vedette

MICROPROCESSOR,BASICS AND MEMORY CONCEPT
MICROPROCESSOR,BASICS AND MEMORY CONCEPTMICROPROCESSOR,BASICS AND MEMORY CONCEPT
MICROPROCESSOR,BASICS AND MEMORY CONCEPTLakshya Sharma
 
Assemblylanguageprogrammingof8085 100523023329-phpapp02
Assemblylanguageprogrammingof8085 100523023329-phpapp02Assemblylanguageprogrammingof8085 100523023329-phpapp02
Assemblylanguageprogrammingof8085 100523023329-phpapp02Swati Watve-Phadke
 
8086 Microprocessor by Nitish Nagar
8086 Microprocessor by Nitish Nagar8086 Microprocessor by Nitish Nagar
8086 Microprocessor by Nitish NagarNitish Nagar
 
8086 addressing modes
8086 addressing modes8086 addressing modes
8086 addressing modesj4jiet
 
VLSI industry - Digital Design Engineers - draft version
VLSI industry - Digital Design Engineers - draft versionVLSI industry - Digital Design Engineers - draft version
VLSI industry - Digital Design Engineers - draft versionMahmoud Abdellatif
 
Microprocessor and Application (8085)
Microprocessor and Application (8085)Microprocessor and Application (8085)
Microprocessor and Application (8085)ufaq kk
 
Applications of microprocessor
Applications of microprocessorApplications of microprocessor
Applications of microprocessorAnjali Agrawal
 
Microprocessor in washing machine
Microprocessor in washing machineMicroprocessor in washing machine
Microprocessor in washing machineSandeep Kamath
 
Washing machine
Washing  machineWashing  machine
Washing machineEng Eng
 
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSORTRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSORSubash Sambath Kumar
 
Microprocessor based Temperature Controller
Microprocessor based Temperature ControllerMicroprocessor based Temperature Controller
Microprocessor based Temperature ControllerRevanth Reddy
 
Automatic temperature control using 8085 microprocessor
Automatic temperature control using 8085 microprocessorAutomatic temperature control using 8085 microprocessor
Automatic temperature control using 8085 microprocessorsubhradeep mitra
 

En vedette (13)

MICROPROCESSOR,BASICS AND MEMORY CONCEPT
MICROPROCESSOR,BASICS AND MEMORY CONCEPTMICROPROCESSOR,BASICS AND MEMORY CONCEPT
MICROPROCESSOR,BASICS AND MEMORY CONCEPT
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Assemblylanguageprogrammingof8085 100523023329-phpapp02
Assemblylanguageprogrammingof8085 100523023329-phpapp02Assemblylanguageprogrammingof8085 100523023329-phpapp02
Assemblylanguageprogrammingof8085 100523023329-phpapp02
 
8086 Microprocessor by Nitish Nagar
8086 Microprocessor by Nitish Nagar8086 Microprocessor by Nitish Nagar
8086 Microprocessor by Nitish Nagar
 
8086 addressing modes
8086 addressing modes8086 addressing modes
8086 addressing modes
 
VLSI industry - Digital Design Engineers - draft version
VLSI industry - Digital Design Engineers - draft versionVLSI industry - Digital Design Engineers - draft version
VLSI industry - Digital Design Engineers - draft version
 
Microprocessor and Application (8085)
Microprocessor and Application (8085)Microprocessor and Application (8085)
Microprocessor and Application (8085)
 
Applications of microprocessor
Applications of microprocessorApplications of microprocessor
Applications of microprocessor
 
Microprocessor in washing machine
Microprocessor in washing machineMicroprocessor in washing machine
Microprocessor in washing machine
 
Washing machine
Washing  machineWashing  machine
Washing machine
 
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSORTRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
 
Microprocessor based Temperature Controller
Microprocessor based Temperature ControllerMicroprocessor based Temperature Controller
Microprocessor based Temperature Controller
 
Automatic temperature control using 8085 microprocessor
Automatic temperature control using 8085 microprocessorAutomatic temperature control using 8085 microprocessor
Automatic temperature control using 8085 microprocessor
 

Similaire à 8086 microprocessor

Intel Microprocessors 8086 Documentation
Intel Microprocessors 8086 DocumentationIntel Microprocessors 8086 Documentation
Intel Microprocessors 8086 DocumentationAdeel Rasheed
 
26677766 8086-microprocessor-architecture
26677766 8086-microprocessor-architecture26677766 8086-microprocessor-architecture
26677766 8086-microprocessor-architectureSaurabh Jain
 
physical_address segmentation.pdf
physical_address segmentation.pdfphysical_address segmentation.pdf
physical_address segmentation.pdfSwapnil511014
 
Presentation on 8086 microprocessor
Presentation on 8086 microprocessorPresentation on 8086 microprocessor
Presentation on 8086 microprocessorDiponkor Bala
 
Unit IV 8086 complete ppt, architecture and instruction set.pptx
Unit IV 8086 complete ppt, architecture and instruction set.pptxUnit IV 8086 complete ppt, architecture and instruction set.pptx
Unit IV 8086 complete ppt, architecture and instruction set.pptxDrVikasMahor
 
digital communication,micro processor,pulse and digital circuits
digital communication,micro processor,pulse and digital circuitsdigital communication,micro processor,pulse and digital circuits
digital communication,micro processor,pulse and digital circuitsManasa Mona
 
introduction to Architecture of 8086 and it's application
introduction to Architecture of 8086 and it's applicationintroduction to Architecture of 8086 and it's application
introduction to Architecture of 8086 and it's applicationDrVikasMahor
 
Microprocessor Architecture.pptx
Microprocessor Architecture.pptxMicroprocessor Architecture.pptx
Microprocessor Architecture.pptxCaptain Price
 
3 organization of intel 8086
3 organization of intel 80863 organization of intel 8086
3 organization of intel 8086ELIMENG
 

Similaire à 8086 microprocessor (20)

Intel Microprocessors 8086 Documentation
Intel Microprocessors 8086 DocumentationIntel Microprocessors 8086 Documentation
Intel Microprocessors 8086 Documentation
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
 
26677766 8086-microprocessor-architecture
26677766 8086-microprocessor-architecture26677766 8086-microprocessor-architecture
26677766 8086-microprocessor-architecture
 
physical_address segmentation.pdf
physical_address segmentation.pdfphysical_address segmentation.pdf
physical_address segmentation.pdf
 
8086
80868086
8086
 
8086
80868086
8086
 
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessor
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Presentation on 8086 microprocessor
Presentation on 8086 microprocessorPresentation on 8086 microprocessor
Presentation on 8086 microprocessor
 
lec 2.pptx
lec 2.pptxlec 2.pptx
lec 2.pptx
 
Unit IV 8086 complete ppt, architecture and instruction set.pptx
Unit IV 8086 complete ppt, architecture and instruction set.pptxUnit IV 8086 complete ppt, architecture and instruction set.pptx
Unit IV 8086 complete ppt, architecture and instruction set.pptx
 
8086 PPt-2021.pptx
8086 PPt-2021.pptx8086 PPt-2021.pptx
8086 PPt-2021.pptx
 
8086ppt
8086ppt8086ppt
8086ppt
 
Arch 8086
Arch 8086Arch 8086
Arch 8086
 
digital communication,micro processor,pulse and digital circuits
digital communication,micro processor,pulse and digital circuitsdigital communication,micro processor,pulse and digital circuits
digital communication,micro processor,pulse and digital circuits
 
introduction to Architecture of 8086 and it's application
introduction to Architecture of 8086 and it's applicationintroduction to Architecture of 8086 and it's application
introduction to Architecture of 8086 and it's application
 
Microprocessor Architecture.pptx
Microprocessor Architecture.pptxMicroprocessor Architecture.pptx
Microprocessor Architecture.pptx
 
8086
8086 8086
8086
 
3 organization of intel 8086
3 organization of intel 80863 organization of intel 8086
3 organization of intel 8086
 
8086
80868086
8086
 

Dernier

Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 

Dernier (20)

Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 

8086 microprocessor

  • 1. Introduction of Microprocessor 4/27/2014SISTec Bhopal 1 PRESENTED BY: ASST. PROF. HARSHIT SAXENA
  • 3. 8086 MICROPROCESSOR  It is a 16 bit μp.  8086 has a 20 bit address bus can access upto 220 memory locations ( 1 MB) .  It can support upto 64K I/O ports.  It provides 14, 16-bit registers.  It has multiplexed address and data bus AD0- AD15 and A16 – A19 4/27/2014 3 SISTec Bhopal
  • 4. GENERAL PURPOSE REGISTER  8086 CPU has 8 general purpose registers, each register has its own name:  AX - the accumulator register (divided into AH / AL).  BX - the base address register (divided into BH / BL).  CX - the count register (divided into CH / CL).  DX - the data register (divided into DH / DL).  SI - source index register.  DI - destination index register.  BP - base pointer.  SP - stack pointer. 4/27/2014 4 SISTec Bhopal
  • 5. SEGMENT REGISTER  In 8086 size of memory is 1MB and divided into 16 logical segments. Each segment contain 64Kbytes.  CS - points at the segment containing the current program.  DS - generally points at segment where variables are defined.  ES - extra segment register, it's up to a coder to define its usage.  SS – points at the segment containing the stack.  Segment registers work together with general purpose register to access any memory value. For example if we would like to access memory at the physical address 12345h (hexadecimal), we should set the DS = 1230h and SI = 0045h. 4/27/2014 5 SISTec Bhopal
  • 6. SPECIAL PURPOSE REGISTER  IP - the instruction pointer.  IP register always works together with CS segment register and it points to currently executing instruction.  Flags Register - determines the current state of the processor. 4/27/2014 6 SISTec Bhopal
  • 8. INTERNAL ARCHITECTURE OF 8086  8086 has two blocks BIU and 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. 4/27/2014 8 SISTec Bhopal
  • 9. ARCHITECTURE OF 8086(CONT…)  Both units operate asynchronously to give the 8086 an overlapping instruction fetch and execution mechanism which is called as Pipelining.  BIU also contain the circuitry for physical address calculation.  Segment address:1005H  Offset address: 5555H  Shifted by 4 bit : 0001 0000 0000 0101 0000  Offset address: 0101 0101 0101 0101  Physical Address: 0001 0101 0101 1010 0101 4/27/2014 9 SISTec Bhopal
  • 10.  Segment address is 1005H.  Segment size is 64k i.e. offset starting address is 0000 – FFFFH.  Segment Register indicates that the base address of a particular segment while offset indicates the distance of the required memory location.  In 8085 once the opcode is fetched and decoded the external bus remains free for some time.  This time is utilized in 8086 by overlapping the fetch and execute cycle. 4/27/2014 10 SISTec Bhopal
  • 11.  The EU contains the register set of 8086 except segment registers and IP.  It has 16 bit ALU able to perform Arithmetic and logical operation.  16 bit flag register which shows the status of microprocessor.  The timing and control units derives the necessary control signal to execute the instruction opcode received from queue..  EU pass the results to BIU for storing them in memory. 4/27/2014 11 SISTec Bhopal
  • 12. ARCHITECTURE OF 8086(CONT…)  If the queue is empty, the EU waits for the next instruction byte to be fetched and shifted to top of the queue.  When the EU executes a branch or jump instruction, it transfers control to a location corresponding to another set of sequential instructions.  Whenever this happens, the BIU automatically resets the queue and then begins to fetch instructions from this new location to refill the queue. 4/27/2014 12 SISTec Bhopal
  • 13. INSTRUCTION QUEUE  Queue permits prefetch of up to six bytes of instruction code. When ever the queue of the BIU is not full, it has room for at least two more bytes instruction.  These prefetching 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.  If the BIU is already in the process of fetching an instruction when the EU request it to read or write operands from memory or I/O, the BIU first completes the instruction fetch bus cycle before initiating the operand read / write cycle. 4/27/2014 13 SISTec Bhopal
  • 14. FLAG REGISTER  8086 has a 16 bit flag register and divided into two parts  Conditional code or status flag  Machine control flags  The conditional code flag register is the lower bytes of the 16 bit flag register along with overflow flag.  The control flag register is the higher byte of the flag register, contains direction flag(D), interrupt flag(I), trap flag(T). 4/27/2014 14 SISTec Bhopal
  • 15. FLAG REGISTER X X X X O D I T S Z X Ac X P X Cy 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 O – Overflow Flag D – Direction Flag I – Interrupt Flag T – Trap Flag S – Sign Flag Z – Zero Flag Ac – Auxiliary carry Flag P – Parity Flag Cy – Carry Flag X – Not used 4/27/2014 15 SISTec Bhopal
  • 16. FLAG REGISTER (CONT….)  Overflow Flag (OF) - set if the result is too large positive number, or is too small negative number to fit into destination operand.  Direction Flag (DF) - if set then string manipulation instructions will auto-decrement index registers. If cleared then the index registers will be auto-incremented.  Interrupt-enable Flag (IF) - setting this bit enables maskable interrupts.  Single-step Flag (TF) - if set then single-step interrupt will occur after the next instruction.  Sign Flag (SF) - set if the most significant bit of the result is set.  Zero Flag (ZF) - set if the result is zero. 4/27/2014 16 SISTec Bhopal
  • 17. FLAG REGISTER (CONT….)  Auxiliary carry Flag (AF) - set if there was a carry from or borrow to bits 0-3 in the AL register.  Parity Flag (PF) - set if parity (the number of "1“ its) in the low-order byte of the result is even.  Carry Flag (CF) - set if there was a carry from or borrow to the most significant bit during last result calculation. 4/27/2014 17 SISTec Bhopal
  • 19. MINIMUM AND MAXIMUM MODES:  The minimum mode is selected by applying logic 1 to the MN / MX# input pin. This is a single microprocessor configuration.  The maximum mode is selected by applying logic 0 to the MN / MX# input pin. This is a multi micro processors configuration. 4/27/2014 19 SISTec Bhopal
  • 20. 8086 SIGNALS ARE CLASSIFIED IN THREE GROUPS  First are the signals having common functions in minimum as well as maximum mode.  Second are the signals which have special functions for minimum mode.  Third are the signals having special function for maximum mode. 4/27/2014 20 SISTec Bhopal
  • 23. MINIMUM MODE INTERFACE  Address/Data Bus : these lines serve two functions. As an address bus is 20 bits long and consists of signal lines A0 through A19. A19 represents the MSB and A0 LSB. A 20bit address gives the 8086 a 1Mbyte memory address space.  The 16 data bus lines D0 through D15 are actually multiplexed with address lines A0 through A15 respectively. By multiplexed we mean that the bus work as an address bus during first machine cycle and as a data bus during next machine cycles. D15 is the MSB and D0 LSB. 4/27/2014 23 SISTec Bhopal
  • 24.  Status signal : The four most significant address lines A19 through A16 are also multiplexed but in this case with status signals S6 through S3. These status bits are output on the bus at the same time that data are transferred over the other bus lines.  Bit S4 and S3 together form a 2 bit binary code that identifies which of the 8086 internal segment registers are used to generate the physical address that was output on the address bus during the current bus cycle. 4/27/2014 24 SISTec Bhopal
  • 26.  Status line S5 reflects the status of another internal characteristic of the 8086. It is the logic level of the interrupt enable flag. The last status bit S6 is always at the logic 0 level.  BUS HIGH ENABLE(BHE): Logic 0 on this used as a memory enable signal for the most significant byte half of the data bus D8 through D15.  TEST : This input is examined by ‘WAIT’ Instruction. If the TEST# input goes low execution will continue, else the processor remains in an idle state. 4/27/2014 26 SISTec Bhopal
  • 27.  ALE(Address latch enable): it shows the availability of the valid address on the address/data lines.  DT/R# : used to decide the direction of data flow through the transreceivers. This is tristated during ‘HLDA’.  DEN# : Indicates the availability of valid data over the address/data bus.  Lock#: This output pin indicates that other system bus master will be prevented from gaining the system bus while the LOCK# signal is low. 4/27/2014 27 SISTec Bhopal