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

8086 Microprocessor powerpoint
8086  Microprocessor  powerpoint8086  Microprocessor  powerpoint
8086 Microprocessor powerpointRandhir Kumar
 
Instruction Set of 8086 Microprocessor
Instruction Set of 8086 MicroprocessorInstruction Set of 8086 Microprocessor
Instruction Set of 8086 MicroprocessorAshita Agrawal
 
8086 class notes-Y.N.M
8086 class notes-Y.N.M8086 class notes-Y.N.M
8086 class notes-Y.N.MDr.YNM
 
Memory organization
Memory organizationMemory organization
Memory organizationishapadhy
 
Architecture of 8086 microprocessor
Architecture of  8086 microprocessorArchitecture of  8086 microprocessor
Architecture of 8086 microprocessorAnirban Saha Anik
 
INTEL 8086 MICROPROCESSOR
INTEL 8086 MICROPROCESSORINTEL 8086 MICROPROCESSOR
INTEL 8086 MICROPROCESSORSagar Kuntumal
 
Programmers model of 8086
Programmers model of 8086Programmers model of 8086
Programmers model of 8086KunalPatel260
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor Mustapha Fatty
 
8259 Operating Modes.pptx
8259 Operating Modes.pptx8259 Operating Modes.pptx
8259 Operating Modes.pptxMeenaAnusha1
 
Bus Interface Unit(BIU) of 8086 Microprocessor
Bus Interface Unit(BIU) of 8086 MicroprocessorBus Interface Unit(BIU) of 8086 Microprocessor
Bus Interface Unit(BIU) of 8086 MicroprocessorArafat Hossan
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorRavi Anand
 
General Purpose Registers.pptx
General Purpose Registers.pptxGeneral Purpose Registers.pptx
General Purpose Registers.pptxVedantGhumade
 
8086 pin details
8086 pin details8086 pin details
8086 pin detailsAJAL A J
 
Programmable Peripheral Interface 8255
 Programmable Peripheral Interface   8255 Programmable Peripheral Interface   8255
Programmable Peripheral Interface 8255Dr.P.Parandaman
 

Tendances (20)

8086 Microprocessor powerpoint
8086  Microprocessor  powerpoint8086  Microprocessor  powerpoint
8086 Microprocessor powerpoint
 
Instruction Set of 8086 Microprocessor
Instruction Set of 8086 MicroprocessorInstruction Set of 8086 Microprocessor
Instruction Set of 8086 Microprocessor
 
intel 8086 introduction
intel 8086 introductionintel 8086 introduction
intel 8086 introduction
 
program status word
program status wordprogram status word
program status word
 
8086 class notes-Y.N.M
8086 class notes-Y.N.M8086 class notes-Y.N.M
8086 class notes-Y.N.M
 
Memory organization
Memory organizationMemory organization
Memory organization
 
8086 Microprocessor
8086 Microprocessor8086 Microprocessor
8086 Microprocessor
 
8086
8086 8086
8086
 
Architecture of 8086 microprocessor
Architecture of  8086 microprocessorArchitecture of  8086 microprocessor
Architecture of 8086 microprocessor
 
INTEL 8086 MICROPROCESSOR
INTEL 8086 MICROPROCESSORINTEL 8086 MICROPROCESSOR
INTEL 8086 MICROPROCESSOR
 
Pin diagram 8085
Pin diagram 8085 Pin diagram 8085
Pin diagram 8085
 
Programmers model of 8086
Programmers model of 8086Programmers model of 8086
Programmers model of 8086
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
 
8259 Operating Modes.pptx
8259 Operating Modes.pptx8259 Operating Modes.pptx
8259 Operating Modes.pptx
 
Bus Interface Unit(BIU) of 8086 Microprocessor
Bus Interface Unit(BIU) of 8086 MicroprocessorBus Interface Unit(BIU) of 8086 Microprocessor
Bus Interface Unit(BIU) of 8086 Microprocessor
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 Microprocessor
 
General Purpose Registers.pptx
General Purpose Registers.pptxGeneral Purpose Registers.pptx
General Purpose Registers.pptx
 
8086 pin details
8086 pin details8086 pin details
8086 pin details
 
Programmable Peripheral Interface 8255
 Programmable Peripheral Interface   8255 Programmable Peripheral Interface   8255
Programmable Peripheral Interface 8255
 
Pentium processor
Pentium processorPentium processor
Pentium processor
 

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 (14)

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 architecture By Er. Swapnil Kaware
8086 architecture By Er. Swapnil Kaware8086 architecture By Er. Swapnil Kaware
8086 architecture By Er. Swapnil Kaware
 
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
 
microprocessor_part_3_compressed_1588259301.pdf
microprocessor_part_3_compressed_1588259301.pdfmicroprocessor_part_3_compressed_1588259301.pdf
microprocessor_part_3_compressed_1588259301.pdfssuserd21262
 

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 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
 
3 organization of intel 8086
3 organization of intel 80863 organization of intel 8086
3 organization of intel 8086
 
8086
80868086
8086
 
microprocessor_part_3_compressed_1588259301.pdf
microprocessor_part_3_compressed_1588259301.pdfmicroprocessor_part_3_compressed_1588259301.pdf
microprocessor_part_3_compressed_1588259301.pdf
 
8086 archi notes final
8086 archi notes final8086 archi notes final
8086 archi notes final
 

Dernier

Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 

Dernier (20)

Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 

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