8255 is a programmable peripheral interface. It is used to interface microprocessor with I/O devices via three ports: PA, PB and PC.
All ports are 8-bit and bidirectional. 8255 transfers data with the microprocessor through its 8-bit data bus. The two address lines A1 and A0 are used to make …