2 IOInterfacing
2 IOInterfacing
2 IOInterfacing
I/O
Interface
I/O
Devices
System Bus
8085
Memory
Interface
Memory
Devices
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
Peripheral-mapped I/O
8085 has a separate 8-bit addressing scheme
Peripheral-mapped I/O
OUT Instruction
STA 8001H
Stores (Outputs) contents of A to output
device with 16-bit address 8001H
the device address f5H, using a 74LS138 3to-8 decoder, a 74LS20 4-input NAND gate, a
74LS02 NOR gate, and a common-anode
seven segment LED.
Given WR and IO/M signals from the 8085,
generate the IOW control signal.
Explain the binary codes required to display 0
to F hex digits at seven segment LED.
Write instructions to display digit 7 at the port.
Data Lines D7
D6
D5
D4
D3
D2
D1
D0
Bits
Segment
NC