SlideShare a Scribd company logo
1 of 40
8086
MICROPROCESSOR
INTERFACING
Dr.P.Yogesh,
Senior Lecturer,
DCSE, CEG Campus,
Anna University, Chennai-25.
8086 based Microcomputer
System
 An 8086-based microcomputer system has
the following components
 8086 CPU
 ROM
 RAM
 Peripherals
 Control bus
 Address bus
8086 based Microcomputer
System
 Data bus
 Clock generator
 Interrupt Controller
 DMA Controller
 Latches
 Transceivers
8086 based Microcomputer
System
Buses
 The basic control bus consists of the signals labeled
M/IO (Active Low), RD (Active Low) and WR (Active
Low)
 The other two buses of 8086 are address bus and
data bus
 These two buses are represented as ADDR/DATA
 The logic behind this is to save number of pins
 The lower 16 bits of addresses are multiplexed on
the data bus
Buses
 External latches such as the 74LS373 octal devices
are used to grab the lower 16 bits of the address
placed in this address and hold it during the rest of
the operation
 To strobe these latches at the proper time, 8086
outputs a signal called Address Latch Enable or
ALE
 Once the address is stored on the outputs of the
latches, the 8086 removes the address from the
address/data bus and uses the bus for reading or
writing data
Buses
 8286 transceiver is used by most of the
devices such as ROMs, RAMs and ports
 Clock generator uses a crystal to produce the
stable-frequency clock signal which steps the
8086 through execution of its instructions in
an orderly manner
Operating Modes
 There are two modes of operation for Intel 8086
namely the minimum mode and the maximum mode
 When only one 8086 CPU is to be used in a micro
computer system the 8086 is used in the minimum
mode of operation
 In this mode the CPU issues the control signals
required by memory and I/O devices
 In a multi processor system it operates in the
maximum mode
Maximum Mode and Minimum
Mode
 In case of maximum mode of operation
control signals are issued by Intel 8288 bus
controller which is used with 8086 for this
purpose
 The level of the pin MN/MX (active low)
decides the operating mode of 8086
 When MN/MX (active low) is high the CPU
operates in a minimum mode
Maximum Mode and Minimum
Mode
 When it is low the CPU operates in the
maximum mode. From pin 24 to 31 issue two
different sets of signals
 One set of signals is issued when the CPU is
operating in the minimum mode
 The other sort of signal is issued when the
CPU is operating in the maximum mode
Minimum Mode
Minimum Mode
 INTA (active low)(output)Pin No 24. Interrupt
Acknowledge. On receiving interrupt signal
the processor issues an interrupt
acknowledge signal.
 ALE (output) Pin No 25. Address Latch
Enable. It goes high during T1. The
microprocessor sends the signal to latch the
address in to the Intel 8282/8283 latch.
Minimum Mode
 DEN (output) Pin No 26. Data Enable. When Intel
8286/8287 octal bus transceiver is used, this signal
acts as an output enable signal. It is active low.
 DT/R (active low)(output) Pin No 27. Data
Transmit/Receive. When Intel 8286/8287 octal bus
transceiver is used, this signal controls the direction
of data flow through the transceiver. When it is high
data are sent out. When it is low data are received.
Minimum Mode
 N/IO (active low)(output) Pin No 28. Memory or
I/O access. When it is high the CPU wants to access
memory. When it is low, the CPU wants to access
IO device.
 WR (active low)(output) Pin No 29. Write.
When it is low the CPU performs memory or I/O
write operation.
 HLDA (output) Pin No 30. Hold Acknowledge. It is
used by the processor when it receives hold signal.
When hold request is removed, HLDA goes low.
 HOLD (input) Pin No 31. Hold. When
another device in the complex microcomputer
system wants to use the address and the data bus,
it sends a hold request through this pin.
Minimum Mode
Maximum Mode
Maximum Mode – Instruction
Queue Status
QS1 QS0 Meaning
0 0 Nooperation
0 1 1st
byteofopcodefromqueue
1 0 Emptythequeue
1 1 Subsequentbytefromqueue
Maximum Mode – Status Signals
S2(AL) S1(AL) S0(AL) Meaning
0 0 0 Interruptacknowledge
0 0 1 ReaddatafromI/Oport
0 1 0 WritedataintoI/Oport
0 1 1 Halt
1 0 0 Opcodefetch
1 0 1 Memoryreading
1 1 0 Memorywriting
1 1 1 Passivestate
S2 S1 S0 BusCycleType
0 0 1 Read I/O – Initiated by the Execution Unit or
the Refresher Control Unit. A19:16 are driven
tozero
1 0 0 InstitutionPrefetch–InitiatedbytheBIU.Data
readfromthebusfillstheprefetchqueue
1 0 1 ReadMemory–InitiatedbytheExecutionUnit
or theRefresher Control Unit. A19-0 select the
desiredbyteorwordmemorylocation
S2 S1 S0 BusCycleType
0 1 0 Write I/O – Initiated by executing IN, OUT,
INS, OUTS instructions. A15:0 select the
desiredI/Oport.A19:16aredriventozero
1 1 0 Write Memory – Initiated by any one of the
Byte/Word memoryinstructions. A19:0 selects
thedesiredbyteorwordmemorylocation
Bus Cycles
 Instruction Cycle
 The time taken to fetch and execute an entire
instruction is referred to as an instruction cycle
 An instruction cycle consists of one or more
machine cycles
Bus Cycles
 Machine Cycle
 The basic operation of reading/writing a byte
from/to a memory location/a port is called a
machine cycle
 The time taken to complete a machine cycle is
represented as Tcy
 A machine cycle is made up of many T states
Types of Read Cycles
S2 S1 S0 BusCycleType
0 0 1 Read I/O – Initiated by the Execution Unit or
the Refresher Control Unit. A19:16 are driven
tozero
1 0 0 InstitutionPrefetch–InitiatedbytheBIU.Data
readfromthebusfillstheprefetchqueue
1 0 1 ReadMemory–InitiatedbytheExecutionUnit
ortheRefresherControl Unit. A19-0 selectthe
desiredbyteorwordmemorylocation
Types of Write Cycles
S2 S1 S0 BusCycleType
0 1 0 Write I/O – Initiated by executing IN, OUT,
INS, OUTS instructions. A15:0 select the
desiredI/Oport.A19:16aredriventozero
1 1 0 Write Memory – Initiated by any one of the
Byte/Word memoryinstructions. A19:0 selects
thedesiredbyteorwordmemorylocation
One Bus Cycle
T1 T2 T3 T4
CLK
Address
Out In
DataAD0-AD15
Out
Address Status
AD16-AD19
S3-S6
MN/MX
M/IO
ALE
BHE/S7
RD
DT/R
DEN
BHE
S7
READ BUS
CYCLE
Read Bus Cycle
 The 4 processor clock cycles are called T states.
 Four cycles is the shortest time that the processor
can use for carrying out a read or an input cycle.
 At the beginning of T1, the processor outputs S2,
S1, S0, A16/S3…A19/S6, AD0..AD15 and
BHE#/S7.
 The 8288 bus controller transitions the ALE signal
from low to high, thereby allowing the address to
pass through the transparent latches (74HC373).
Read Bus Cycle
 The address, along with the BHE# signal is
latched when ALE goes low, providing the
latched address A0..A19.
 During T2 the processor removes the
address and data. S3..S6 status is output on
the upper 4 address/status lines of the
processor.
 The AD0..AD15 signals are floated as inputs,
waiting for data to be read.
Read Bus Cycle
 Data bus transceivers (74HC245) are enabled
towards the microprocessor (the READ direction) by
the DT/R# and DEN signals.
 The MRDC# (ie MEMR#) or IORC# (IOR#) signal is
asserted.
 The signals are maintained during T3. At the end of
T3 the microprocessor samples the input data.
 During T4 the memory and I/O control lines are de-
asserted.
Write Bus Cycle
Write Bus Cycle
 The 4 processor clock cycles are called T states. Four cycles is
the shortest time that the processor can use for carrying out a
write or an output cycle.
 At the beginning of T1, the processor outputs S2, S1, S0,
A16/S3…A19/S6, AD0..AD15 and BHE#/S7.
 The 8288 bus controller transitions the ALE signal from low to
high, thereby allowing the address to pass through the
transparent latches (74HC373).
 The address, along with the BHE# signal is latched when ALE
goes low, providing the latched address A0..A19.
Write Bus Cycle
 During T2 the processor removes the address and
data. S3..S6 status is output on the upper 4
address/status lines of the processor.
 Output data is driven out on the AD0..AD15 lines.
 Data bus transceivers (74HC245) are enabled away
from the microprocessor (the WRITE direction) by
the DT/R# and DEN signals.
 The MWRC# (ie MEMW#) or IOWC# (IOW#) signal
is asserted at the beginning of T3.
Write Bus Cycle
 The signals are maintained during T3.
 During T4 the memory and I/O control lines
are de-asserted.
 In simple Intel Architecture systems, the data
is usually written to the memory or output
device at the rising edge of the MWRC# or
IOWC# signal.
Typical 16-bit Interface
Connection
16-bit Interface Connection
Physical Databus Models
16-bit Data Bus Byte Transfers
16-bit Data Bus Byte transfers
16-Bit Data Bus Even Word
Transfers
16-Bit data Bus Odd Word
Transfers

More Related Content

What's hot

T-states in microprocessor 8085
T-states in microprocessor 8085T-states in microprocessor 8085
T-states in microprocessor 8085yedles
 
8086 addressing modes
8086 addressing modes8086 addressing modes
8086 addressing modesj4jiet
 
4.programmable dma controller 8257
4.programmable dma controller 82574.programmable dma controller 8257
4.programmable dma controller 8257MdFazleRabbi18
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessorAMAN SRIVASTAVA
 
Presentation on 8086 Microprocessor
Presentation  on   8086 MicroprocessorPresentation  on   8086 Microprocessor
Presentation on 8086 MicroprocessorNahian Ahmed
 
Direct Memory Access & Interrrupts
Direct Memory Access & InterrruptsDirect Memory Access & Interrrupts
Direct Memory Access & InterrruptsSharmilaChidaravalli
 
Microprocessor 8085 complete
Microprocessor 8085 completeMicroprocessor 8085 complete
Microprocessor 8085 completeShubham Singh
 
Pin digram of 8086
Pin digram of 8086Pin digram of 8086
Pin digram of 8086RJ
 
8086 modes
8086 modes8086 modes
8086 modesPDFSHARE
 
8086 MICROPROCESSOR
8086 MICROPROCESSOR8086 MICROPROCESSOR
8086 MICROPROCESSORAkhila Rahul
 
Minimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 MicroprocessorMinimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 MicroprocessorNikhil Kumar
 
8086 Microprocessor powerpoint
8086  Microprocessor  powerpoint8086  Microprocessor  powerpoint
8086 Microprocessor powerpointRandhir Kumar
 
Register Organisation of 8086 Microprocessor
Register Organisation of 8086 MicroprocessorRegister Organisation of 8086 Microprocessor
Register Organisation of 8086 MicroprocessorNikhil Kumar
 
microcontroller basics
microcontroller basicsmicrocontroller basics
microcontroller basicssagar Ramdev
 

What's hot (20)

T-states in microprocessor 8085
T-states in microprocessor 8085T-states in microprocessor 8085
T-states in microprocessor 8085
 
Usart 8251
Usart 8251Usart 8251
Usart 8251
 
8086 addressing modes
8086 addressing modes8086 addressing modes
8086 addressing modes
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
 
Register Organization of 80386
Register Organization of 80386Register Organization of 80386
Register Organization of 80386
 
4.programmable dma controller 8257
4.programmable dma controller 82574.programmable dma controller 8257
4.programmable dma controller 8257
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessor
 
Presentation on 8086 Microprocessor
Presentation  on   8086 MicroprocessorPresentation  on   8086 Microprocessor
Presentation on 8086 Microprocessor
 
8086 memory segmentation
8086 memory segmentation8086 memory segmentation
8086 memory segmentation
 
Direct Memory Access & Interrrupts
Direct Memory Access & InterrruptsDirect Memory Access & Interrrupts
Direct Memory Access & Interrrupts
 
Microprocessor 8085 complete
Microprocessor 8085 completeMicroprocessor 8085 complete
Microprocessor 8085 complete
 
Pin digram of 8086
Pin digram of 8086Pin digram of 8086
Pin digram of 8086
 
8086 modes
8086 modes8086 modes
8086 modes
 
8086 MICROPROCESSOR
8086 MICROPROCESSOR8086 MICROPROCESSOR
8086 MICROPROCESSOR
 
Minimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 MicroprocessorMinimum Modes and Maximum Modes of 8086 Microprocessor
Minimum Modes and Maximum Modes of 8086 Microprocessor
 
DMA and DMA controller
DMA and DMA controllerDMA and DMA controller
DMA and DMA controller
 
8086 Microprocessor powerpoint
8086  Microprocessor  powerpoint8086  Microprocessor  powerpoint
8086 Microprocessor powerpoint
 
80486
8048680486
80486
 
Register Organisation of 8086 Microprocessor
Register Organisation of 8086 MicroprocessorRegister Organisation of 8086 Microprocessor
Register Organisation of 8086 Microprocessor
 
microcontroller basics
microcontroller basicsmicrocontroller basics
microcontroller basics
 

Similar to 8086 Microprocessor Interfacing Guide

Chapter 2_1(8086 System configuration).pptx
Chapter 2_1(8086 System configuration).pptxChapter 2_1(8086 System configuration).pptx
Chapter 2_1(8086 System configuration).pptxmelaku76
 
3 L pin diagram.pptx
3 L pin diagram.pptx3 L pin diagram.pptx
3 L pin diagram.pptxPoonamarora73
 
architecture of 8086 new Lecture 4new.pptx
architecture of 8086 new Lecture 4new.pptxarchitecture of 8086 new Lecture 4new.pptx
architecture of 8086 new Lecture 4new.pptxDrVikasMahor
 
Notes-7_complete notes_8086.pdf
Notes-7_complete notes_8086.pdfNotes-7_complete notes_8086.pdf
Notes-7_complete notes_8086.pdfVisheshYadav38
 
8086 slide general short notes assembly languages.pptx
8086 slide general short notes assembly languages.pptx8086 slide general short notes assembly languages.pptx
8086 slide general short notes assembly languages.pptxbinaboss24
 
Intel 8086 internal architecture & pin diagram
Intel 8086 internal architecture & pin diagramIntel 8086 internal architecture & pin diagram
Intel 8086 internal architecture & pin diagramkrunal47
 
UNIT-II-8086.pptx
UNIT-II-8086.pptxUNIT-II-8086.pptx
UNIT-II-8086.pptxparul757596
 
Pin Description and Register Organization of 8086 Microprocessor
Pin Description and Register Organization of 8086 MicroprocessorPin Description and Register Organization of 8086 Microprocessor
Pin Description and Register Organization of 8086 MicroprocessorMuthusamy Arumugam
 

Similar to 8086 Microprocessor Interfacing Guide (20)

unit 4 mc.pdf
unit 4 mc.pdfunit 4 mc.pdf
unit 4 mc.pdf
 
Chapter 2_1(8086 System configuration).pptx
Chapter 2_1(8086 System configuration).pptxChapter 2_1(8086 System configuration).pptx
Chapter 2_1(8086 System configuration).pptx
 
8086 complete guide
8086 complete guide 8086 complete guide
8086 complete guide
 
Pin description of 8086
Pin description of 8086Pin description of 8086
Pin description of 8086
 
3 L pin diagram.pptx
3 L pin diagram.pptx3 L pin diagram.pptx
3 L pin diagram.pptx
 
Pin8086
Pin8086Pin8086
Pin8086
 
8086.pptx
8086.pptx8086.pptx
8086.pptx
 
architecture of 8086 new Lecture 4new.pptx
architecture of 8086 new Lecture 4new.pptxarchitecture of 8086 new Lecture 4new.pptx
architecture of 8086 new Lecture 4new.pptx
 
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessor
 
Notes-7_complete notes_8086.pdf
Notes-7_complete notes_8086.pdfNotes-7_complete notes_8086.pdf
Notes-7_complete notes_8086.pdf
 
8086 introduction.pptx
8086 introduction.pptx8086 introduction.pptx
8086 introduction.pptx
 
8086 slide general short notes assembly languages.pptx
8086 slide general short notes assembly languages.pptx8086 slide general short notes assembly languages.pptx
8086 slide general short notes assembly languages.pptx
 
8086 mprocessor.pptx
8086 mprocessor.pptx8086 mprocessor.pptx
8086 mprocessor.pptx
 
Intel 8086 internal architecture & pin diagram
Intel 8086 internal architecture & pin diagramIntel 8086 internal architecture & pin diagram
Intel 8086 internal architecture & pin diagram
 
8086slide
8086slide8086slide
8086slide
 
UNIT-II-8086.pptx
UNIT-II-8086.pptxUNIT-II-8086.pptx
UNIT-II-8086.pptx
 
8086 Microprocessor
8086 Microprocessor8086 Microprocessor
8086 Microprocessor
 
Pin Description and Register Organization of 8086 Microprocessor
Pin Description and Register Organization of 8086 MicroprocessorPin Description and Register Organization of 8086 Microprocessor
Pin Description and Register Organization of 8086 Microprocessor
 
8086 Microprocessor
8086  Microprocessor8086  Microprocessor
8086 Microprocessor
 
Micro
MicroMicro
Micro
 

More from jhcid

wireless-communication-architecture
 wireless-communication-architecture wireless-communication-architecture
wireless-communication-architecturejhcid
 
a-presentation-on-wireless-communication
 a-presentation-on-wireless-communication a-presentation-on-wireless-communication
a-presentation-on-wireless-communicationjhcid
 
sonar
sonarsonar
sonarjhcid
 
satellite-communications
 satellite-communications satellite-communications
satellite-communicationsjhcid
 
ppt-on-satellite
ppt-on-satelliteppt-on-satellite
ppt-on-satellitejhcid
 
satellite-communications
satellite-communicationssatellite-communications
satellite-communicationsjhcid
 
satellite-communication
 satellite-communication satellite-communication
satellite-communicationjhcid
 
satellite-communication-ppt
satellite-communication-pptsatellite-communication-ppt
satellite-communication-pptjhcid
 
radar
 radar radar
radarjhcid
 
radar
 radar radar
radarjhcid
 
radar-principles
radar-principlesradar-principles
radar-principlesjhcid
 
radar
radarradar
radarjhcid
 
cellular-communication
cellular-communicationcellular-communication
cellular-communicationjhcid
 
cellular communication
cellular communicationcellular communication
cellular communicationjhcid
 
-introduction-to-cellular-mobile-communications
-introduction-to-cellular-mobile-communications-introduction-to-cellular-mobile-communications
-introduction-to-cellular-mobile-communicationsjhcid
 
cellular-communications
 cellular-communications cellular-communications
cellular-communicationsjhcid
 
arduino-1
 arduino-1 arduino-1
arduino-1jhcid
 
arduino
 arduino arduino
arduinojhcid
 
arduino
arduinoarduino
arduinojhcid
 
arduino-ppt
 arduino-ppt arduino-ppt
arduino-pptjhcid
 

More from jhcid (20)

wireless-communication-architecture
 wireless-communication-architecture wireless-communication-architecture
wireless-communication-architecture
 
a-presentation-on-wireless-communication
 a-presentation-on-wireless-communication a-presentation-on-wireless-communication
a-presentation-on-wireless-communication
 
sonar
sonarsonar
sonar
 
satellite-communications
 satellite-communications satellite-communications
satellite-communications
 
ppt-on-satellite
ppt-on-satelliteppt-on-satellite
ppt-on-satellite
 
satellite-communications
satellite-communicationssatellite-communications
satellite-communications
 
satellite-communication
 satellite-communication satellite-communication
satellite-communication
 
satellite-communication-ppt
satellite-communication-pptsatellite-communication-ppt
satellite-communication-ppt
 
radar
 radar radar
radar
 
radar
 radar radar
radar
 
radar-principles
radar-principlesradar-principles
radar-principles
 
radar
radarradar
radar
 
cellular-communication
cellular-communicationcellular-communication
cellular-communication
 
cellular communication
cellular communicationcellular communication
cellular communication
 
-introduction-to-cellular-mobile-communications
-introduction-to-cellular-mobile-communications-introduction-to-cellular-mobile-communications
-introduction-to-cellular-mobile-communications
 
cellular-communications
 cellular-communications cellular-communications
cellular-communications
 
arduino-1
 arduino-1 arduino-1
arduino-1
 
arduino
 arduino arduino
arduino
 
arduino
arduinoarduino
arduino
 
arduino-ppt
 arduino-ppt arduino-ppt
arduino-ppt
 

Recently uploaded

Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 

Recently uploaded (20)

Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 

8086 Microprocessor Interfacing Guide

  • 2. 8086 based Microcomputer System  An 8086-based microcomputer system has the following components  8086 CPU  ROM  RAM  Peripherals  Control bus  Address bus
  • 3. 8086 based Microcomputer System  Data bus  Clock generator  Interrupt Controller  DMA Controller  Latches  Transceivers
  • 5. Buses  The basic control bus consists of the signals labeled M/IO (Active Low), RD (Active Low) and WR (Active Low)  The other two buses of 8086 are address bus and data bus  These two buses are represented as ADDR/DATA  The logic behind this is to save number of pins  The lower 16 bits of addresses are multiplexed on the data bus
  • 6. Buses  External latches such as the 74LS373 octal devices are used to grab the lower 16 bits of the address placed in this address and hold it during the rest of the operation  To strobe these latches at the proper time, 8086 outputs a signal called Address Latch Enable or ALE  Once the address is stored on the outputs of the latches, the 8086 removes the address from the address/data bus and uses the bus for reading or writing data
  • 7. Buses  8286 transceiver is used by most of the devices such as ROMs, RAMs and ports  Clock generator uses a crystal to produce the stable-frequency clock signal which steps the 8086 through execution of its instructions in an orderly manner
  • 8. Operating Modes  There are two modes of operation for Intel 8086 namely the minimum mode and the maximum mode  When only one 8086 CPU is to be used in a micro computer system the 8086 is used in the minimum mode of operation  In this mode the CPU issues the control signals required by memory and I/O devices  In a multi processor system it operates in the maximum mode
  • 9. Maximum Mode and Minimum Mode  In case of maximum mode of operation control signals are issued by Intel 8288 bus controller which is used with 8086 for this purpose  The level of the pin MN/MX (active low) decides the operating mode of 8086  When MN/MX (active low) is high the CPU operates in a minimum mode
  • 10. Maximum Mode and Minimum Mode  When it is low the CPU operates in the maximum mode. From pin 24 to 31 issue two different sets of signals  One set of signals is issued when the CPU is operating in the minimum mode  The other sort of signal is issued when the CPU is operating in the maximum mode
  • 12. Minimum Mode  INTA (active low)(output)Pin No 24. Interrupt Acknowledge. On receiving interrupt signal the processor issues an interrupt acknowledge signal.  ALE (output) Pin No 25. Address Latch Enable. It goes high during T1. The microprocessor sends the signal to latch the address in to the Intel 8282/8283 latch.
  • 13. Minimum Mode  DEN (output) Pin No 26. Data Enable. When Intel 8286/8287 octal bus transceiver is used, this signal acts as an output enable signal. It is active low.  DT/R (active low)(output) Pin No 27. Data Transmit/Receive. When Intel 8286/8287 octal bus transceiver is used, this signal controls the direction of data flow through the transceiver. When it is high data are sent out. When it is low data are received.
  • 14. Minimum Mode  N/IO (active low)(output) Pin No 28. Memory or I/O access. When it is high the CPU wants to access memory. When it is low, the CPU wants to access IO device.  WR (active low)(output) Pin No 29. Write. When it is low the CPU performs memory or I/O write operation.  HLDA (output) Pin No 30. Hold Acknowledge. It is used by the processor when it receives hold signal. When hold request is removed, HLDA goes low.  HOLD (input) Pin No 31. Hold. When another device in the complex microcomputer system wants to use the address and the data bus, it sends a hold request through this pin.
  • 16.
  • 18. Maximum Mode – Instruction Queue Status QS1 QS0 Meaning 0 0 Nooperation 0 1 1st byteofopcodefromqueue 1 0 Emptythequeue 1 1 Subsequentbytefromqueue
  • 19. Maximum Mode – Status Signals S2(AL) S1(AL) S0(AL) Meaning 0 0 0 Interruptacknowledge 0 0 1 ReaddatafromI/Oport 0 1 0 WritedataintoI/Oport 0 1 1 Halt 1 0 0 Opcodefetch 1 0 1 Memoryreading 1 1 0 Memorywriting 1 1 1 Passivestate
  • 20. S2 S1 S0 BusCycleType 0 0 1 Read I/O – Initiated by the Execution Unit or the Refresher Control Unit. A19:16 are driven tozero 1 0 0 InstitutionPrefetch–InitiatedbytheBIU.Data readfromthebusfillstheprefetchqueue 1 0 1 ReadMemory–InitiatedbytheExecutionUnit or theRefresher Control Unit. A19-0 select the desiredbyteorwordmemorylocation
  • 21. S2 S1 S0 BusCycleType 0 1 0 Write I/O – Initiated by executing IN, OUT, INS, OUTS instructions. A15:0 select the desiredI/Oport.A19:16aredriventozero 1 1 0 Write Memory – Initiated by any one of the Byte/Word memoryinstructions. A19:0 selects thedesiredbyteorwordmemorylocation
  • 22. Bus Cycles  Instruction Cycle  The time taken to fetch and execute an entire instruction is referred to as an instruction cycle  An instruction cycle consists of one or more machine cycles
  • 23. Bus Cycles  Machine Cycle  The basic operation of reading/writing a byte from/to a memory location/a port is called a machine cycle  The time taken to complete a machine cycle is represented as Tcy  A machine cycle is made up of many T states
  • 24. Types of Read Cycles S2 S1 S0 BusCycleType 0 0 1 Read I/O – Initiated by the Execution Unit or the Refresher Control Unit. A19:16 are driven tozero 1 0 0 InstitutionPrefetch–InitiatedbytheBIU.Data readfromthebusfillstheprefetchqueue 1 0 1 ReadMemory–InitiatedbytheExecutionUnit ortheRefresherControl Unit. A19-0 selectthe desiredbyteorwordmemorylocation
  • 25. Types of Write Cycles S2 S1 S0 BusCycleType 0 1 0 Write I/O – Initiated by executing IN, OUT, INS, OUTS instructions. A15:0 select the desiredI/Oport.A19:16aredriventozero 1 1 0 Write Memory – Initiated by any one of the Byte/Word memoryinstructions. A19:0 selects thedesiredbyteorwordmemorylocation
  • 26. One Bus Cycle T1 T2 T3 T4 CLK Address Out In DataAD0-AD15 Out Address Status AD16-AD19 S3-S6 MN/MX M/IO ALE BHE/S7 RD DT/R DEN BHE S7 READ BUS CYCLE
  • 27. Read Bus Cycle  The 4 processor clock cycles are called T states.  Four cycles is the shortest time that the processor can use for carrying out a read or an input cycle.  At the beginning of T1, the processor outputs S2, S1, S0, A16/S3…A19/S6, AD0..AD15 and BHE#/S7.  The 8288 bus controller transitions the ALE signal from low to high, thereby allowing the address to pass through the transparent latches (74HC373).
  • 28. Read Bus Cycle  The address, along with the BHE# signal is latched when ALE goes low, providing the latched address A0..A19.  During T2 the processor removes the address and data. S3..S6 status is output on the upper 4 address/status lines of the processor.  The AD0..AD15 signals are floated as inputs, waiting for data to be read.
  • 29. Read Bus Cycle  Data bus transceivers (74HC245) are enabled towards the microprocessor (the READ direction) by the DT/R# and DEN signals.  The MRDC# (ie MEMR#) or IORC# (IOR#) signal is asserted.  The signals are maintained during T3. At the end of T3 the microprocessor samples the input data.  During T4 the memory and I/O control lines are de- asserted.
  • 31. Write Bus Cycle  The 4 processor clock cycles are called T states. Four cycles is the shortest time that the processor can use for carrying out a write or an output cycle.  At the beginning of T1, the processor outputs S2, S1, S0, A16/S3…A19/S6, AD0..AD15 and BHE#/S7.  The 8288 bus controller transitions the ALE signal from low to high, thereby allowing the address to pass through the transparent latches (74HC373).  The address, along with the BHE# signal is latched when ALE goes low, providing the latched address A0..A19.
  • 32. Write Bus Cycle  During T2 the processor removes the address and data. S3..S6 status is output on the upper 4 address/status lines of the processor.  Output data is driven out on the AD0..AD15 lines.  Data bus transceivers (74HC245) are enabled away from the microprocessor (the WRITE direction) by the DT/R# and DEN signals.  The MWRC# (ie MEMW#) or IOWC# (IOW#) signal is asserted at the beginning of T3.
  • 33. Write Bus Cycle  The signals are maintained during T3.  During T4 the memory and I/O control lines are de-asserted.  In simple Intel Architecture systems, the data is usually written to the memory or output device at the rising edge of the MWRC# or IOWC# signal.
  • 37. 16-bit Data Bus Byte Transfers
  • 38. 16-bit Data Bus Byte transfers
  • 39. 16-Bit Data Bus Even Word Transfers
  • 40. 16-Bit data Bus Odd Word Transfers