SlideShare a Scribd company logo
6
Most read
7
Most read
10
Most read
Prof. Nitin Ahire 1
I/O Interfacing
with 8085
Prof. Nitin Ahire
XIE, Mahim
Prof. Nitin Ahire 2
fundamentals of I/O devices
• I/p Port
I/P PORT
BufferD0-D7
D0-D7
Enable
Data from
Keyboard
Prof. Nitin Ahire 3
fundamentals of I/O devices
• O/p Port
O/P PORT
latchD0-D7
D0-D7
Enable
Data to
Display
Prof. Nitin Ahire 4
I/O interfacing techniques
• Up support I/O interface tech.
• It partitions memory from I/O, via software
instruction like IN add, OUT add
• When these instructions decoded by the
processor it generate appropriate control
signals IO/M^
• In 8085 it is possible to connect 256 I/O
ports and 64Kb memory
Prof. Nitin Ahire 5
I/O interfacing techniques
• I/O devices can be interfaced in two
ways
1) I/O mapped I/O
2) Memory mapped I/O
Prof. Nitin Ahire 6
I/O interfacing techniques
• Memory mapped I/O
1) In this device add is 16 bit
( A0-A15)
2) MEMR^ and MEWR^
control signals are used
3) Instructions are LDA add,
STA Add, MOV A,M
4) Data trans. Bet reg and
I/O devices
5) No. of I/O devices
interface= 65536
( Theoretically)
• I/O mapped I/P
1) In this device add is 8
bit (A0-A7)
2) IOR^ and IOW^ control
signals are used
3) Instruction are IN Add,
OUT Add
4) Data trans. Bet acc and
I/O devices
5) No. of I/O devices
interface= 256 only
Prof. Nitin Ahire 7
I/O device selection for add (80h)
Decoder
A0
A3
A2
A1
A6
A5
A4
A7
G1^
G2^
G
Y0
OR
RD^/
WR^
IO/M^
Buffer
Or
latch
OR
NOT
OR
To I/O
device
Data
bus
Enable
IOR^/IOW^
Data bus
Prof. Nitin Ahire 8
• IN 80h ( here 80h is the address of i/p switches)
8 0
A15/A7 A14/A6 A9/A1A10/A2A11/A3A12/A4A13/A5 A8/A0
1 0 00000 0
Prof. Nitin Ahire 9
I/O device selection for add (80h)
3:8
Decoder
A0
A3
A2
A1
A6
A5
A4
A7
G1^
G2^
G
Y0
OR
RD^/
WR^
IO/M^
Buffer
Or
latch
OR
NOT
OR
Data transfer to
Accumulator
EnableIOR^/IOW^
I/P switches
S0-S7
Select
lines
Data bus
Prof. Nitin Ahire 10
I/O device selection for add (81h)
3:8
Decoder
A0
A3
A2
A1
A6
A5
A4
A7
G1^
G2^
G
Y1
OR
RD^/
WR^
IO/M^
Buffer
Or
latch
OR
NOT
OR
Data transfer to
Accumulator
EnableIOR^/IOW^
0/P Display
devices
Select
lines
Data bus

More Related Content

PPT
Architecture of 8086 Microprocessor
PDF
8051 interfacing
PPT
Interfacing 8255
PDF
8259 Programmable Interrupt Controller
PPT
8255 presentaion.ppt
PPTX
8251 USART
PDF
8155 PPI
PPTX
Stack in 8085 microprocessor
Architecture of 8086 Microprocessor
8051 interfacing
Interfacing 8255
8259 Programmable Interrupt Controller
8255 presentaion.ppt
8251 USART
8155 PPI
Stack in 8085 microprocessor

What's hot (20)

PPT
8086 micro processor
PPTX
8051 Microcontroller PPT's By Er. Swapnil Kaware
PPTX
Pin diagram 8085
PPTX
Instruction set of 8086
PPT
Memory & I/O interfacing
PPTX
Presentation on 8086 Microprocessor
PPT
Microcontroller-8051.ppt
PPTX
Registers
PPT
Adc interfacing
PPTX
I/O port programming in 8051
PPTX
Addressing modes
PPT
Shift Registers
PPTX
Microprocessor 8086
PDF
ADC and DAC interfacing.pdf
PPTX
Multiplexers
PDF
8086 modes
PPTX
Architecture of 8051
PPTX
Interrupts of 8086
PDF
8051 microcontroller
PPTX
Sensor interfacing in 8051
8086 micro processor
8051 Microcontroller PPT's By Er. Swapnil Kaware
Pin diagram 8085
Instruction set of 8086
Memory & I/O interfacing
Presentation on 8086 Microprocessor
Microcontroller-8051.ppt
Registers
Adc interfacing
I/O port programming in 8051
Addressing modes
Shift Registers
Microprocessor 8086
ADC and DAC interfacing.pdf
Multiplexers
8086 modes
Architecture of 8051
Interrupts of 8086
8051 microcontroller
Sensor interfacing in 8051
Ad

Similar to Interfacing of io device to 8085 (20)

PPTX
MAI-introduction of memory and i/o device with 8085
PDF
Unit 3 mpmc
PPTX
Microprocessor
PPTX
UNIT 4.pptx
PDF
Micro Processor And Micro Controller for engineering in Pondicherry University
PDF
Unit 4
PPTX
UNIT 4 8051Microcontroller.pptx
PPTX
Memory interfacing
PPTX
UNIT 3 Peripheral Interfacing.pptx
PDF
20838382 microprocessor-8085-notes
PDF
Download
PPTX
MPMC UNIT 3 MPMC UNIT 3 MPMC UNIT 3 MPMC UNIT 3
PPTX
MPMC UNIT 3 MPMC UNIT 3 MPMC UNIT 3 MPMC UNIT 3
PDF
Microprocessor Unit 2.PDF
PPT
Io modules
PPT
PROGRAMMABLE PERIPHERAL INTERFCAE.ppt
PPT
Unit 3-PROGRAMMABLE PERIPHERAL INTERFACE-ME6702– MECHATRONICS
PPT
20ME702– MECHATRONICS -UNIT-3.ppt
PDF
Microprocessor - its applications -Recovered-.ppt.pdf
PPT
8085-microprocessor
MAI-introduction of memory and i/o device with 8085
Unit 3 mpmc
Microprocessor
UNIT 4.pptx
Micro Processor And Micro Controller for engineering in Pondicherry University
Unit 4
UNIT 4 8051Microcontroller.pptx
Memory interfacing
UNIT 3 Peripheral Interfacing.pptx
20838382 microprocessor-8085-notes
Download
MPMC UNIT 3 MPMC UNIT 3 MPMC UNIT 3 MPMC UNIT 3
MPMC UNIT 3 MPMC UNIT 3 MPMC UNIT 3 MPMC UNIT 3
Microprocessor Unit 2.PDF
Io modules
PROGRAMMABLE PERIPHERAL INTERFCAE.ppt
Unit 3-PROGRAMMABLE PERIPHERAL INTERFACE-ME6702– MECHATRONICS
20ME702– MECHATRONICS -UNIT-3.ppt
Microprocessor - its applications -Recovered-.ppt.pdf
8085-microprocessor
Ad

More from Nitin Ahire (9)

PDF
Microprocessor 8086 8087_nitin ahire
PDF
8051 Microcontroller
PDF
8085 ppi 8255 and 8155
PPT
Addressing mode of 8051
PDF
8051 singed number concept [compatibility mode]
PDF
8051 micro controllers Instruction set
PDF
8051 (microcontroller)class1
PDF
Serial communication in 8085
PDF
Interrupt of 8085
Microprocessor 8086 8087_nitin ahire
8051 Microcontroller
8085 ppi 8255 and 8155
Addressing mode of 8051
8051 singed number concept [compatibility mode]
8051 micro controllers Instruction set
8051 (microcontroller)class1
Serial communication in 8085
Interrupt of 8085

Recently uploaded (20)

PPTX
Spectroscopy.pptx food analysis technology
PDF
Machine learning based COVID-19 study performance prediction
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Encapsulation theory and applications.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Approach and Philosophy of On baking technology
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Spectroscopy.pptx food analysis technology
Machine learning based COVID-19 study performance prediction
The Rise and Fall of 3GPP – Time for a Sabbatical?
Encapsulation theory and applications.pdf
Programs and apps: productivity, graphics, security and other tools
Approach and Philosophy of On baking technology
Encapsulation_ Review paper, used for researhc scholars
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Building Integrated photovoltaic BIPV_UPV.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Empathic Computing: Creating Shared Understanding
Unlocking AI with Model Context Protocol (MCP)
Review of recent advances in non-invasive hemoglobin estimation
Dropbox Q2 2025 Financial Results & Investor Presentation
Network Security Unit 5.pdf for BCA BBA.
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...

Interfacing of io device to 8085

  • 1. Prof. Nitin Ahire 1 I/O Interfacing with 8085 Prof. Nitin Ahire XIE, Mahim
  • 2. Prof. Nitin Ahire 2 fundamentals of I/O devices • I/p Port I/P PORT BufferD0-D7 D0-D7 Enable Data from Keyboard
  • 3. Prof. Nitin Ahire 3 fundamentals of I/O devices • O/p Port O/P PORT latchD0-D7 D0-D7 Enable Data to Display
  • 4. Prof. Nitin Ahire 4 I/O interfacing techniques • Up support I/O interface tech. • It partitions memory from I/O, via software instruction like IN add, OUT add • When these instructions decoded by the processor it generate appropriate control signals IO/M^ • In 8085 it is possible to connect 256 I/O ports and 64Kb memory
  • 5. Prof. Nitin Ahire 5 I/O interfacing techniques • I/O devices can be interfaced in two ways 1) I/O mapped I/O 2) Memory mapped I/O
  • 6. Prof. Nitin Ahire 6 I/O interfacing techniques • Memory mapped I/O 1) In this device add is 16 bit ( A0-A15) 2) MEMR^ and MEWR^ control signals are used 3) Instructions are LDA add, STA Add, MOV A,M 4) Data trans. Bet reg and I/O devices 5) No. of I/O devices interface= 65536 ( Theoretically) • I/O mapped I/P 1) In this device add is 8 bit (A0-A7) 2) IOR^ and IOW^ control signals are used 3) Instruction are IN Add, OUT Add 4) Data trans. Bet acc and I/O devices 5) No. of I/O devices interface= 256 only
  • 7. Prof. Nitin Ahire 7 I/O device selection for add (80h) Decoder A0 A3 A2 A1 A6 A5 A4 A7 G1^ G2^ G Y0 OR RD^/ WR^ IO/M^ Buffer Or latch OR NOT OR To I/O device Data bus Enable IOR^/IOW^ Data bus
  • 8. Prof. Nitin Ahire 8 • IN 80h ( here 80h is the address of i/p switches) 8 0 A15/A7 A14/A6 A9/A1A10/A2A11/A3A12/A4A13/A5 A8/A0 1 0 00000 0
  • 9. Prof. Nitin Ahire 9 I/O device selection for add (80h) 3:8 Decoder A0 A3 A2 A1 A6 A5 A4 A7 G1^ G2^ G Y0 OR RD^/ WR^ IO/M^ Buffer Or latch OR NOT OR Data transfer to Accumulator EnableIOR^/IOW^ I/P switches S0-S7 Select lines Data bus
  • 10. Prof. Nitin Ahire 10 I/O device selection for add (81h) 3:8 Decoder A0 A3 A2 A1 A6 A5 A4 A7 G1^ G2^ G Y1 OR RD^/ WR^ IO/M^ Buffer Or latch OR NOT OR Data transfer to Accumulator EnableIOR^/IOW^ 0/P Display devices Select lines Data bus