2. Interface an 8255 IC with the 8086 microprocessor to work as an Input- output port. Port-A is connected to input swit
Posted: Fri Apr 29, 2022 8:55 am
2. Interface an 8255 IC with the 8086 microprocessor to work as an Input- output port. Port-A is connected to input switches, Port-B to 7-segment display and port-C to LEDs. Addresses of port-A, Port-B, Port-C and Control Register are 8078H, 807AH, 807CH and 807EH respectively. (a) Draw the hardware connection diagram, (b) Find the control word, (c) Write an assembly language program to read switch pattern and make the output LED pattern accordingly. Also find the number of off switches and display the number on 7-segment display.