SlideShare a Scribd company logo
1 of 23
C.K. PITHAWALA COLLEGE OF
ENGINEERING AND
TECHNOLOGY
PREPARED BY:
TAILOR DIGEN K. 160093111016
SARANG SACHIN A. 160093111015
PATEL HARISH S. 160093111012
AKHIANIA PRATIK B. 160093111001
PATELASHISH H. 160093111009
SUBJECT: Microprocessor and interfacing
TOPIC: Interfacing of memory and I/O devices with 8085
BRANCH: Electronics and Communication
GROUP: G1A_5
8085 Communication with Memory :-
• Involves the following three steps
1. Identify the memory location (with address)
2. Generate Timing & Control signals
3. Data transfer takes place
Example: Memory Read Operation
Demultiplexing Address/Data Bus:-
• 8085 identifies a memory location with its 16 address lines, (AD0 to
AD7) & (A8 to A15)
• 8085 performs data transfer using its data lines, AD0 to AD7
• Lower order address bus & Data bus are multiplexed on same lines i.e.
AD0 to AD7.
• Demultiplexing refers to separating Address & Data signals for
read/write operations
Need for Demultiplexing :-
8085 Memory
A8-A15
20H
AD0-AD7
05H
RD
4FH 2005H
8085 Interfacing with Memory chips :-
8085
Memory
Interface
Memory
Chip
Address
Data
Control
Address
Data
Control
8085 Interfacing with Memory chips :-
8085
Memory
Chip
AD0-AD7
CS
A0 – A7
Data
74LS373
A8-A15 A8-A15
ALE
U2
74LS373
3
4
7
8
13
14
17
18
111
2
5
6
9
12
15
16
19
D0
D1
D2
D3
D4
D5
D6
D7
OCG
Q0
Q1
Q2
Q3
Q4
Q5
Q6
Q7
U1
8085
36
1
2
5
6
9
8
7
10
11
29
33
39
35
12
13
14
15
16
17
18
19
21
22
23
24
25
26
27
28
30
31
32
34
3
37
4
38
RST-IN
X1
X2
SID
TRAP
RST 5.5
RST 6.5
RST 7.5
INTR
INTA
S0
S1
HOLD
READY
AD0
AD1
AD2
AD3
AD4
AD5
AD6
AD7
A8
A9
A10
A11
A12
A13
A14
A15
ALE
WR
RD
IO/M
RST-OT
CLKO
SOD
HLDA
U3
27C512A
10
9
8
7
6
5
4
3
25
24
21
23
2
26
20
22
27
1
11
12
13
15
16
17
18
19
A0
A1
A2
A3
A4
A5
A6
A7
A8
A9
A10
A11
A12
A13
CE
OE/VPP
A14
A15
O0
O1
O2
O3
O4
O5
O6
O7
Memory Mapping :-
• 8085 has 16-bit Address Bus
• The complete address space is thus given by the range of addresses 0000H –
FFFFH
• The range of addresses allocated to a memory device is known as its memory map
Memory map: 64K memory device
• Address lines required: 16 (A0 – A15)
• Memory map: 0000H - FFFFH
• So the memory map is
0 0 0 0
A15 A14 A13 A12 A11 to A0
0…. 0 0 = 0000H
1 1 1 1
A11 to A0
A15 A14 A13 A12
1…. 111 = FFFFH
to
Interfacing I/O devices with 8085 :-
• Peripheral-mapped I/O & Memory-mapped I/O
8085
I/O
Interface
I/O
Devices
Memory
Interface
Memory
Devices
System Bus
Techniques for I/O Interfacing :-
1. Memory-mapped I/O
2. Peripheral-mapped I/O
1. Memory-mapped I/O :-
• 8085 uses its 16-bit address bus to identify a memory location
• Memory address space: 0000H to FFFFH
• 8085 needs to identify I/O devices also
• I/O devices can be interfaced using addresses from memory space
• 8085 treats such an I/O device as a memory location
• This is called Memory-mapped I/O
2. Peripheral-mapped I/O :-
• 8085 has a separate 8-bit addressing scheme for I/O devices
• I/O address space: 00H to FFH
• This is called Peripheral-mapped I/O or I/O-mapped I/O
8085 Communication with I/O devices :-
• Involves the following three steps
1.Identify the I/O device (with address)
2.Generate Timing & Control signals
3.Data transfer takes place
• 8085 communicates with a I/O device only if there is a
Program Instruction to do so
1.Identify the I/O device (with address) :-
• Memory-mapped I/O (16-bit address)
• Peripheral-mapped I/O (8-bit address)
2.Generate Timing & Control Signals :-
• Memory-mapped I/O
 Reading Input: IO/M = 0, RD = 0
 Write to Output: IO/M = 0, WR = 0
• Peripheral-mapped I/O
 Reading Input: IO/M = 1, RD = 0
 Write to Output: IO/M = 1, WR = 0
Peripheral I/O Instructions :-
• IN Instruction
 Inputs data from input device into the accumulator
 It is a 2-byte instruction
 Format: IN 8-bit port address
 Example: IN 01H
• OUT Instruction
 Outputs the contents of accumulator to an output device
 It is a 2-byte instruction
 Format: OUT 8-bit port address
 Example: OUT 02H
Memory-mapped I/O Instructions :-
• I/O devices are identified by 16-bit addresses
• 8085 communicates with an I/O device as if it were one of the memory locations
• Memory related instructions are used
• For e.g. LDA, STA
1. LDA 8000H
Loads A with data read from input device with 16-bit address
8000H
2. STA 8001H
Stores (Outputs) contents of A to output device with 16-bit address 8001H
GUIDED BY:
Prof. Rahul V. Mehta

More Related Content

What's hot

8085 Architecture
8085 Architecture8085 Architecture
8085 Architecturedeval patel
 
architecture memory interfacing
architecture memory interfacingarchitecture memory interfacing
architecture memory interfacingShamsul Huda
 
Programmers model of 8086
Programmers model of 8086Programmers model of 8086
Programmers model of 8086KunalPatel260
 
17. memory interfacing iii
17. memory interfacing iii17. memory interfacing iii
17. memory interfacing iiisandip das
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086Umang Dhuri
 
Presentation on 8086 Microprocessor
Presentation  on   8086 MicroprocessorPresentation  on   8086 Microprocessor
Presentation on 8086 MicroprocessorNahian Ahmed
 
Architecture of 8086 microprocessor
Architecture of  8086 microprocessorArchitecture of  8086 microprocessor
Architecture of 8086 microprocessorAnirban Saha Anik
 
MP&AL presentation (8085 microprocessor architecture)
MP&AL presentation (8085 microprocessor architecture)MP&AL presentation (8085 microprocessor architecture)
MP&AL presentation (8085 microprocessor architecture)Ridhima Chowdhury
 
30. 8086 microprocessor pipelined architecture
30. 8086 microprocessor pipelined architecture30. 8086 microprocessor pipelined architecture
30. 8086 microprocessor pipelined architecturesandip das
 
Microprocessor Part 1
Microprocessor    Part 1Microprocessor    Part 1
Microprocessor Part 1Sajan Agrawal
 
16. memory interfacing ii
16. memory interfacing ii16. memory interfacing ii
16. memory interfacing iisandip das
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor Mustapha Fatty
 
8086 module 1 & 2 work
8086 module 1 & 2   work8086 module 1 & 2   work
8086 module 1 & 2 workSuhail Km
 

What's hot (20)

8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
 
architecture memory interfacing
architecture memory interfacingarchitecture memory interfacing
architecture memory interfacing
 
Programmers model of 8086
Programmers model of 8086Programmers model of 8086
Programmers model of 8086
 
17. memory interfacing iii
17. memory interfacing iii17. memory interfacing iii
17. memory interfacing iii
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
 
Mp 8085
Mp 8085Mp 8085
Mp 8085
 
microprocessor 8085
microprocessor 8085microprocessor 8085
microprocessor 8085
 
Presentation on 8086 Microprocessor
Presentation  on   8086 MicroprocessorPresentation  on   8086 Microprocessor
Presentation on 8086 Microprocessor
 
Architecture of 8086 microprocessor
Architecture of  8086 microprocessorArchitecture of  8086 microprocessor
Architecture of 8086 microprocessor
 
8085 Microprocessor
8085 Microprocessor8085 Microprocessor
8085 Microprocessor
 
MP&AL presentation (8085 microprocessor architecture)
MP&AL presentation (8085 microprocessor architecture)MP&AL presentation (8085 microprocessor architecture)
MP&AL presentation (8085 microprocessor architecture)
 
30. 8086 microprocessor pipelined architecture
30. 8086 microprocessor pipelined architecture30. 8086 microprocessor pipelined architecture
30. 8086 microprocessor pipelined architecture
 
Microprocessor Part 1
Microprocessor    Part 1Microprocessor    Part 1
Microprocessor Part 1
 
8085 architecture
8085 architecture8085 architecture
8085 architecture
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
 
Chapter5
Chapter5Chapter5
Chapter5
 
16. memory interfacing ii
16. memory interfacing ii16. memory interfacing ii
16. memory interfacing ii
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
 
8086 module 1 & 2 work
8086 module 1 & 2   work8086 module 1 & 2   work
8086 module 1 & 2 work
 

Similar to MAI-introduction of memory and i/o device with 8085

Microprocessor architecture
Microprocessor architectureMicroprocessor architecture
Microprocessor architectureparsh33
 
8085 Interfacing with I/O Devices or Memory
8085 Interfacing with I/O Devices or Memory8085 Interfacing with I/O Devices or Memory
8085 Interfacing with I/O Devices or MemorySaumay Paul
 
Microprocessor questions converted
Microprocessor questions convertedMicroprocessor questions converted
Microprocessor questions convertedArghodeepPaul
 
Architecture and pin diagram of 8085
Architecture and pin diagram of 8085Architecture and pin diagram of 8085
Architecture and pin diagram of 8085Suchismita Paul
 
Micro Processor And Micro Controller for engineering in Pondicherry University
Micro Processor And Micro Controller for engineering in Pondicherry UniversityMicro Processor And Micro Controller for engineering in Pondicherry University
Micro Processor And Micro Controller for engineering in Pondicherry UniversityShyamShyam76
 
Part of UNIT2 Memory mapped IOjkl;'lk.pdf
Part of UNIT2 Memory mapped IOjkl;'lk.pdfPart of UNIT2 Memory mapped IOjkl;'lk.pdf
Part of UNIT2 Memory mapped IOjkl;'lk.pdfAbhishekkumar397974
 
UNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxUNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxGowrishankar C
 
Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Neelam Kapoor
 
8085 microproceesor ppt
8085 microproceesor ppt8085 microproceesor ppt
8085 microproceesor pptRJ Aniket
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacingdeval patel
 
EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...
EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...
EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...NaWinNK
 
Microprocessor and Microcontroller.pdf
Microprocessor and Microcontroller.pdfMicroprocessor and Microcontroller.pdf
Microprocessor and Microcontroller.pdfLatif Khan
 

Similar to MAI-introduction of memory and i/o device with 8085 (20)

Microprocessor architecture
Microprocessor architectureMicroprocessor architecture
Microprocessor architecture
 
PPT-1.pptx
PPT-1.pptxPPT-1.pptx
PPT-1.pptx
 
PPT-1.pptx
PPT-1.pptxPPT-1.pptx
PPT-1.pptx
 
8085 Interfacing with I/O Devices or Memory
8085 Interfacing with I/O Devices or Memory8085 Interfacing with I/O Devices or Memory
8085 Interfacing with I/O Devices or Memory
 
Microprocessor questions converted
Microprocessor questions convertedMicroprocessor questions converted
Microprocessor questions converted
 
Architecture and pin diagram of 8085
Architecture and pin diagram of 8085Architecture and pin diagram of 8085
Architecture and pin diagram of 8085
 
Microprocessor history1
Microprocessor history1Microprocessor history1
Microprocessor history1
 
Microprocessor history1
Microprocessor history1Microprocessor history1
Microprocessor history1
 
8085.ppt
8085.ppt8085.ppt
8085.ppt
 
Micro Processor And Micro Controller for engineering in Pondicherry University
Micro Processor And Micro Controller for engineering in Pondicherry UniversityMicro Processor And Micro Controller for engineering in Pondicherry University
Micro Processor And Micro Controller for engineering in Pondicherry University
 
Part of UNIT2 Memory mapped IOjkl;'lk.pdf
Part of UNIT2 Memory mapped IOjkl;'lk.pdfPart of UNIT2 Memory mapped IOjkl;'lk.pdf
Part of UNIT2 Memory mapped IOjkl;'lk.pdf
 
UNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptxUNIT 1 Microprocessors.pptx
UNIT 1 Microprocessors.pptx
 
Notes chapter 6
Notes chapter  6Notes chapter  6
Notes chapter 6
 
Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1Microprocessor Basics 8085 Ch-1
Microprocessor Basics 8085 Ch-1
 
8085 microproceesor ppt
8085 microproceesor ppt8085 microproceesor ppt
8085 microproceesor ppt
 
Memory & I/O interfacing
Memory & I/O  interfacingMemory & I/O  interfacing
Memory & I/O interfacing
 
8155 PPI
8155 PPI8155 PPI
8155 PPI
 
architect.ppt
architect.pptarchitect.ppt
architect.ppt
 
EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...
EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...
EEE- BEE603 - Microprocessor and Microcontroller- Mr K Dwarakesh_220819_18121...
 
Microprocessor and Microcontroller.pdf
Microprocessor and Microcontroller.pdfMicroprocessor and Microcontroller.pdf
Microprocessor and Microcontroller.pdf
 

Recently uploaded

Filters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsFilters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsMathias Magdowski
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docxrahulmanepalli02
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxMustafa Ahmed
 
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024EMMANUELLEFRANCEHELI
 
Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxMustafa Ahmed
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxMustafa Ahmed
 
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and ToolsMaximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Toolssoginsider
 
Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...IJECEIAES
 
Passive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.pptPassive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.pptamrabdallah9
 
CLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference ModalCLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference ModalSwarnaSLcse
 
Presentation on Slab, Beam, Column, and Foundation/Footing
Presentation on Slab,  Beam, Column, and Foundation/FootingPresentation on Slab,  Beam, Column, and Foundation/Footing
Presentation on Slab, Beam, Column, and Foundation/FootingEr. Suman Jyoti
 
5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...archanaece3
 
engineering chemistry power point presentation
engineering chemistry  power point presentationengineering chemistry  power point presentation
engineering chemistry power point presentationsj9399037128
 
Working Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdfWorking Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdfSkNahidulIslamShrabo
 
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...AshwaniAnuragi1
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxkalpana413121
 
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...Amil baba
 
Circuit Breakers for Engineering Students
Circuit Breakers for Engineering StudentsCircuit Breakers for Engineering Students
Circuit Breakers for Engineering Studentskannan348865
 
Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxMustafa Ahmed
 
What is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, FunctionsWhat is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, FunctionsVIEW
 

Recently uploaded (20)

Filters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsFilters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility Applications
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
 
Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptx
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptx
 
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and ToolsMaximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
 
Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...
 
Passive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.pptPassive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.ppt
 
CLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference ModalCLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference Modal
 
Presentation on Slab, Beam, Column, and Foundation/Footing
Presentation on Slab,  Beam, Column, and Foundation/FootingPresentation on Slab,  Beam, Column, and Foundation/Footing
Presentation on Slab, Beam, Column, and Foundation/Footing
 
5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...
 
engineering chemistry power point presentation
engineering chemistry  power point presentationengineering chemistry  power point presentation
engineering chemistry power point presentation
 
Working Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdfWorking Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdf
 
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
NO1 Best Powerful Vashikaran Specialist Baba Vashikaran Specialist For Love V...
 
Circuit Breakers for Engineering Students
Circuit Breakers for Engineering StudentsCircuit Breakers for Engineering Students
Circuit Breakers for Engineering Students
 
Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptx
 
What is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, FunctionsWhat is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, Functions
 

MAI-introduction of memory and i/o device with 8085

  • 1. C.K. PITHAWALA COLLEGE OF ENGINEERING AND TECHNOLOGY PREPARED BY: TAILOR DIGEN K. 160093111016 SARANG SACHIN A. 160093111015 PATEL HARISH S. 160093111012 AKHIANIA PRATIK B. 160093111001 PATELASHISH H. 160093111009 SUBJECT: Microprocessor and interfacing TOPIC: Interfacing of memory and I/O devices with 8085 BRANCH: Electronics and Communication GROUP: G1A_5
  • 2. 8085 Communication with Memory :- • Involves the following three steps 1. Identify the memory location (with address) 2. Generate Timing & Control signals 3. Data transfer takes place
  • 4.
  • 5. Demultiplexing Address/Data Bus:- • 8085 identifies a memory location with its 16 address lines, (AD0 to AD7) & (A8 to A15) • 8085 performs data transfer using its data lines, AD0 to AD7 • Lower order address bus & Data bus are multiplexed on same lines i.e. AD0 to AD7. • Demultiplexing refers to separating Address & Data signals for read/write operations
  • 6.
  • 7. Need for Demultiplexing :- 8085 Memory A8-A15 20H AD0-AD7 05H RD 4FH 2005H
  • 8. 8085 Interfacing with Memory chips :- 8085 Memory Interface Memory Chip Address Data Control Address Data Control
  • 9. 8085 Interfacing with Memory chips :- 8085 Memory Chip AD0-AD7 CS A0 – A7 Data 74LS373 A8-A15 A8-A15 ALE
  • 10. U2 74LS373 3 4 7 8 13 14 17 18 111 2 5 6 9 12 15 16 19 D0 D1 D2 D3 D4 D5 D6 D7 OCG Q0 Q1 Q2 Q3 Q4 Q5 Q6 Q7 U1 8085 36 1 2 5 6 9 8 7 10 11 29 33 39 35 12 13 14 15 16 17 18 19 21 22 23 24 25 26 27 28 30 31 32 34 3 37 4 38 RST-IN X1 X2 SID TRAP RST 5.5 RST 6.5 RST 7.5 INTR INTA S0 S1 HOLD READY AD0 AD1 AD2 AD3 AD4 AD5 AD6 AD7 A8 A9 A10 A11 A12 A13 A14 A15 ALE WR RD IO/M RST-OT CLKO SOD HLDA U3 27C512A 10 9 8 7 6 5 4 3 25 24 21 23 2 26 20 22 27 1 11 12 13 15 16 17 18 19 A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 CE OE/VPP A14 A15 O0 O1 O2 O3 O4 O5 O6 O7
  • 11. Memory Mapping :- • 8085 has 16-bit Address Bus • The complete address space is thus given by the range of addresses 0000H – FFFFH • The range of addresses allocated to a memory device is known as its memory map
  • 12. Memory map: 64K memory device • Address lines required: 16 (A0 – A15) • Memory map: 0000H - FFFFH • So the memory map is 0 0 0 0 A15 A14 A13 A12 A11 to A0 0…. 0 0 = 0000H 1 1 1 1 A11 to A0 A15 A14 A13 A12 1…. 111 = FFFFH to
  • 13. Interfacing I/O devices with 8085 :- • Peripheral-mapped I/O & Memory-mapped I/O 8085 I/O Interface I/O Devices Memory Interface Memory Devices System Bus
  • 14. Techniques for I/O Interfacing :- 1. Memory-mapped I/O 2. Peripheral-mapped I/O
  • 15. 1. Memory-mapped I/O :- • 8085 uses its 16-bit address bus to identify a memory location • Memory address space: 0000H to FFFFH • 8085 needs to identify I/O devices also • I/O devices can be interfaced using addresses from memory space • 8085 treats such an I/O device as a memory location • This is called Memory-mapped I/O
  • 16. 2. Peripheral-mapped I/O :- • 8085 has a separate 8-bit addressing scheme for I/O devices • I/O address space: 00H to FFH • This is called Peripheral-mapped I/O or I/O-mapped I/O
  • 17. 8085 Communication with I/O devices :- • Involves the following three steps 1.Identify the I/O device (with address) 2.Generate Timing & Control signals 3.Data transfer takes place • 8085 communicates with a I/O device only if there is a Program Instruction to do so
  • 18. 1.Identify the I/O device (with address) :- • Memory-mapped I/O (16-bit address) • Peripheral-mapped I/O (8-bit address)
  • 19. 2.Generate Timing & Control Signals :- • Memory-mapped I/O  Reading Input: IO/M = 0, RD = 0  Write to Output: IO/M = 0, WR = 0 • Peripheral-mapped I/O  Reading Input: IO/M = 1, RD = 0  Write to Output: IO/M = 1, WR = 0
  • 20. Peripheral I/O Instructions :- • IN Instruction  Inputs data from input device into the accumulator  It is a 2-byte instruction  Format: IN 8-bit port address  Example: IN 01H
  • 21. • OUT Instruction  Outputs the contents of accumulator to an output device  It is a 2-byte instruction  Format: OUT 8-bit port address  Example: OUT 02H
  • 22. Memory-mapped I/O Instructions :- • I/O devices are identified by 16-bit addresses • 8085 communicates with an I/O device as if it were one of the memory locations • Memory related instructions are used • For e.g. LDA, STA 1. LDA 8000H Loads A with data read from input device with 16-bit address 8000H 2. STA 8001H Stores (Outputs) contents of A to output device with 16-bit address 8001H