IO Interfacing
IO Interfacing
Memory Mapped IO
It considers them like any other memory
location.
They are assigned a 16-bit address within the
address range of the 8085.
The exchange of data with these devices follows
the transfer of data with memory. The user uses
the same instructions used for memory.
3
IO Mapped IO
It treats them separately from memory.
I/O devices are assigned a port number within
the 8-bit address range of 00H to FFH.
The user in this case would access these devices
using the IN and OUT instructions only.
IO is treated as
memory.
16-bit addressing.
More Decoder
Hardware.
Can address 216=64k
locations.
Less memory is
available.
IO Mapped IO
IO is treated IO.
8- bit addressing.
Less Decoder Hardware.
Can address 28=256
locations.
Whole memory address
space is available.
5
10