2. Interface an 8255 IC with the 8086 microprocessor to work as an Input- output port. Port-A is connected to input swit
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
2. Interface an 8255 IC with the 8086 microprocessor to work as an Input- output port. Port-A is connected to input swit
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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!