3.0 Interfacing in Microprocessor
3.0 Interfacing in Microprocessor
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.
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 :
IO devices are accessed like They cannot be accessed like any other
Addressing any other memory location. memory location.
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.