IO Interfacing
IO Interfacing
IO devices are accessed like any other memory They cannot be accessed like any other memory
Addressing
location. location.
Address Size They are assigned with 16-bit address values. They are assigned with 8-bit address values.
Instructions
The instruction used are LDA and STA, etc. The instruction used are IN and OUT.
Used
Cycles involved during operation are Memory Cycles involved during operation are IO read and
Cycles
Read, Memory Write. IO writes in the case of IO Mapped IO.
Registers
Any register can communicate with the IO device in Only Accumulator can communicate with IO
Communicat
case of Memory Mapped IO. devices in case of IO Mapped IO.
ing
Space 216 IO ports are possible to be used for interfacing in Only 256 I/O ports are available for interfacing in
Involved case of Memory Mapped IO. case of IO Mapped IO.
During writing or read cycles (IO/M` = 0 ) in case of During writing or read cycles (IO/M` = 1) in case of
IO/M` signal
Memory Mapped IO. IO Mapped IO.
No separate control signal required since we have
Control Special control signals are used in the case of IO
unified memory space in the case of Memory
Signal Mapped IO.
Mapped IO.
Arithmetic Arithmetic and logical operations are performed Arithmetic and logical operations cannot be
and Logical directly on the data in the case of Memory Mapped performed directly on the data in the case of IO
operations IO. Mapped IO.
Address Limited number of memory locations available for Dedicated address space available for I/O devices
range use by the microprocessor
Examples of
Intel 8085, Motorola 6800 Intel 8255, Zilog Z80
processors