0% found this document useful (0 votes)
71 views

3.0 Interfacing in Microprocessor

Interfacing is the path for communication between components. There are two types: memory interfacing and I/O interfacing. The microprocessor needs to be linked to memory, peripherals, and I/O devices via interfacing. Interfacing of I/O devices in 8085 can occur via memory-mapped or I/O-mapped interfacing. Memory-mapped interfacing accesses I/O devices like memory using addresses, while I/O-mapped interfacing uses specific I/O instructions and 8-bit addresses. Memory-mapped interfacing allows more ports but uses memory cycles, while I/O-mapped interfacing is limited to 256 ports but uses separate I/O cycles.

Uploaded by

Dhiraj Shah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
71 views

3.0 Interfacing in Microprocessor

Interfacing is the path for communication between components. There are two types: memory interfacing and I/O interfacing. The microprocessor needs to be linked to memory, peripherals, and I/O devices via interfacing. Interfacing of I/O devices in 8085 can occur via memory-mapped or I/O-mapped interfacing. Memory-mapped interfacing accesses I/O devices like memory using addresses, while I/O-mapped interfacing uses specific I/O instructions and 8-bit addresses. Memory-mapped interfacing allows more ports but uses memory cycles, while I/O-mapped interfacing is limited to 256 ports but uses separate I/O cycles.

Uploaded by

Dhiraj Shah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Interfacing

Interfacing: Interface is the path for communication between two components. Interfacing is of two
types, memory interfacing and I/O interfacing.
The microprocessor cannot do anything by itself therefore, It needs to be linked with memory, extra
peripherals, or IO devices. This linking is called Interfacing.

Block Diagram of Memory and I/O Interfacing

The interfacing of the I/O devices in 8085 can be done in two ways :
1. Memory-Mapped I/O Interfacing :
In this kind of interfacing, we assign a memory address that can be used in the same manner as we use a
normal memory location.
2. I/O Mapped I/O Interfacing :
A kind of interfacing in which we assign an 8-bit address value to the input/output devices which can be
accessed using IN and OUT instruction is called I/O Mapped I/O Interfacing.
Difference between Memory-Mapped I/O Interfacing and I/O Mapped I/O Interfacing :

Features Memory Mapped IO IO Mapped IO

IO devices are accessed like They cannot be accessed like any other
Addressing any other memory location. memory location.

They are assigned with 16-bit


Address Size address values. They are assigned with 8-bit address values.

The instruction used are LDA


Instructions Used and STA, etc. The instruction used are IN and OUT.

Cycles involved during


operation are Memory Read, Cycles involved during operation are IO read
Cycles Memory Write. and IO writes in the case of IO Mapped IO.

Any register can


communicate with the IO
Registers device in case of Memory Only Accumulator can communicate with IO
Communicating Mapped IO. devices in case of IO Mapped IO.

216 IO ports are possible to be Only 256 I/O ports are available for
Space Involved used for interfacing in case of interfacing in case of IO Mapped IO.

Er.Binay Yadav Page 1


Interfacing

Memory Mapped IO.

During writing or read cycles


(IO/M` = 0 ) in case of During writing or read cycles (IO/M` = 1) in
IO/M` signal Memory Mapped IO. case of IO Mapped IO.

No separate control signal


required since we have
unified memory space in the Special control signals are used in the case of
Control Signal case of Memory Mapped IO. IO Mapped IO.

Arithmetic and logical


Arithmetic and operations are performed Arithmetic and logical operations cannot be
Logical directly on the data in the performed directly on the data in the case of
operations case of Memory Mapped IO. IO Mapped IO.

Er.Binay Yadav Page 2

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy