SlideShare a Scribd company logo
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

Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor Mustapha Fatty
 
Chapter 1 microprocessor introduction
Chapter 1 microprocessor introductionChapter 1 microprocessor introduction
Chapter 1 microprocessor introduction
Shubham Singh
 
Architecture of 8051
Architecture of 8051Architecture of 8051
Architecture of 8051
hello_priti
 
Internal architecture-of-8086
Internal architecture-of-8086Internal architecture-of-8086
Internal architecture-of-8086
Estiak Khan
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
jhcid
 
Microprocessor 8085 complete
Microprocessor 8085 completeMicroprocessor 8085 complete
Microprocessor 8085 complete
Shubham Singh
 
Memory segmentation-of-8086
Memory segmentation-of-8086Memory segmentation-of-8086
Memory segmentation-of-8086
mudulin
 
Serial Communication
Serial CommunicationSerial Communication
Serial Communication
UshaRani289
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
prasadpawaskar
 
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
Muthusamy Arumugam
 
Microprocessor 8086 instructions
Microprocessor 8086 instructionsMicroprocessor 8086 instructions
Microprocessor 8086 instructions
Ravi Anand
 
8251 USART
8251 USART8251 USART
8251 USART
ShivamSood22
 
Unit 2 mpmc
Unit 2 mpmcUnit 2 mpmc
Unit 2 mpmc
tamilnesaner
 
8251 USART
8251 USART8251 USART
8251 USART
coolsdhanesh
 
Presentation on 8086 Microprocessor
Presentation  on   8086 MicroprocessorPresentation  on   8086 Microprocessor
Presentation on 8086 Microprocessor
Nahian Ahmed
 
Bus Structure, Memory and I/O Interfacing
Bus Structure, Memory and I/O InterfacingBus Structure, Memory and I/O Interfacing
Bus Structure, Memory and I/O Interfacing
Hetauda City College
 
Instruction set of 8086
Instruction set of 8086Instruction set of 8086
Instruction set of 8086aviban
 
8085 microproceesor ppt
8085 microproceesor ppt8085 microproceesor ppt
8085 microproceesor ppt
RJ Aniket
 
Microprocessor Presentation
Microprocessor PresentationMicroprocessor Presentation
Microprocessor Presentation
alaminmasum1
 
8086 assembly language
8086 assembly language8086 assembly language
8086 assembly languageMir Majid
 

What's hot (20)

Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
 
Chapter 1 microprocessor introduction
Chapter 1 microprocessor introductionChapter 1 microprocessor introduction
Chapter 1 microprocessor introduction
 
Architecture of 8051
Architecture of 8051Architecture of 8051
Architecture of 8051
 
Internal architecture-of-8086
Internal architecture-of-8086Internal architecture-of-8086
Internal architecture-of-8086
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
 
Microprocessor 8085 complete
Microprocessor 8085 completeMicroprocessor 8085 complete
Microprocessor 8085 complete
 
Memory segmentation-of-8086
Memory segmentation-of-8086Memory segmentation-of-8086
Memory segmentation-of-8086
 
Serial Communication
Serial CommunicationSerial Communication
Serial Communication
 
8086 microprocessor-architecture
8086 microprocessor-architecture8086 microprocessor-architecture
8086 microprocessor-architecture
 
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
 
Microprocessor 8086 instructions
Microprocessor 8086 instructionsMicroprocessor 8086 instructions
Microprocessor 8086 instructions
 
8251 USART
8251 USART8251 USART
8251 USART
 
Unit 2 mpmc
Unit 2 mpmcUnit 2 mpmc
Unit 2 mpmc
 
8251 USART
8251 USART8251 USART
8251 USART
 
Presentation on 8086 Microprocessor
Presentation  on   8086 MicroprocessorPresentation  on   8086 Microprocessor
Presentation on 8086 Microprocessor
 
Bus Structure, Memory and I/O Interfacing
Bus Structure, Memory and I/O InterfacingBus Structure, Memory and I/O Interfacing
Bus Structure, Memory and I/O Interfacing
 
Instruction set of 8086
Instruction set of 8086Instruction set of 8086
Instruction set of 8086
 
8085 microproceesor ppt
8085 microproceesor ppt8085 microproceesor ppt
8085 microproceesor ppt
 
Microprocessor Presentation
Microprocessor PresentationMicroprocessor Presentation
Microprocessor Presentation
 
8086 assembly language
8086 assembly language8086 assembly language
8086 assembly language
 

Similar to 8086-microprocessor

mic_unit1.pdf msbte unit 1 note pdf in ppt
mic_unit1.pdf msbte unit 1 note pdf in pptmic_unit1.pdf msbte unit 1 note pdf in ppt
mic_unit1.pdf msbte unit 1 note pdf in ppt
xboyxman1000
 
unit 4 mc.pdf
unit 4 mc.pdfunit 4 mc.pdf
unit 4 mc.pdf
ssuserdd904d
 
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
melaku76
 
8086 complete guide
8086 complete guide 8086 complete guide
8086 complete guide
SHREEHARI WADAWADAGI
 
Pin description of 8086
Pin description of 8086Pin description of 8086
Pin description of 8086
HarshitParkar6677
 
3 L pin diagram.pptx
3 L pin diagram.pptx3 L pin diagram.pptx
3 L pin diagram.pptx
Poonamarora73
 
8086 new
8086 new8086 new
Pin8086
Pin8086Pin8086
Pin8086
Mohansonale1
 
8086.pptx
8086.pptx8086.pptx
8086.pptx
ssuserc2adf8
 
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
DrVikasMahor
 
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessor
KARANKUMARSHUKLA
 
Notes-7_complete notes_8086.pdf
Notes-7_complete notes_8086.pdfNotes-7_complete notes_8086.pdf
Notes-7_complete notes_8086.pdf
VisheshYadav38
 
8086 introduction.pptx
8086 introduction.pptx8086 introduction.pptx
8086 introduction.pptx
kirankumar423676
 
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
binaboss24
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
anil_gaur
 
8086 mprocessor.pptx
8086 mprocessor.pptx8086 mprocessor.pptx
8086 mprocessor.pptx
JahedulIslam53
 
Intel 8086 internal architecture & pin diagram
Intel 8086 internal architecture & pin diagramIntel 8086 internal architecture & pin diagram
Intel 8086 internal architecture & pin diagram
krunal47
 
8086slide
8086slide8086slide
8086slide
dhulipudisatish
 
UNIT-II-8086.pptx
UNIT-II-8086.pptxUNIT-II-8086.pptx
UNIT-II-8086.pptx
parul757596
 
8086 Microprocessor
8086 Microprocessor8086 Microprocessor
8086 Microprocessor
IshworKhatiwada
 

Similar to 8086-microprocessor (20)

mic_unit1.pdf msbte unit 1 note pdf in ppt
mic_unit1.pdf msbte unit 1 note pdf in pptmic_unit1.pdf msbte unit 1 note pdf in ppt
mic_unit1.pdf msbte unit 1 note pdf in ppt
 
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
 
8086 new
8086 new8086 new
8086 new
 
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
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
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
 

More from jhcid

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

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

Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
PrashantGoswami42
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
Kamal Acharya
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
Kamal Acharya
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
abh.arya
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
ssuser9bd3ba
 

Recently uploaded (20)

Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
 

8086-microprocessor

  • 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