Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

14. Assume that there is a two digit common anode 7-segment LED display connected to the lower 4 bits of port B of a PPI

image text in transcribed

14. Assume that there is a two digit common anode 7-segment LED display connected to the lower 4 bits of port B of a PPI (8255) at address 0640H (Address of the port B). The display is connected to the PPI through a Hexadecimal to 7 Segment Display driver chip (74LS47) as shown in Figure 1. Dip-switch is connected to port C Lower. Pull-Up NPN transistors are connected to port C Upper. a) What are the addresses of port A, port B, port C, and control register PCW. b) Which control word is required to interface the seven segment displays and Dip-switch. Page 2 c) Consider only Display 1. Write an 8086 ALP program to read the status of the Dip-switch continuously and display it on Display 1. d) Again, consider only Display 1. Write an 8086 ALP program to display on Display 1 the number of the switch that change of status. Assume switches are numbered from 1 to 4 and only one switch change of status at a time. e) Consider now Display 1 and Display 2. Write an 8086 ALP program to read the status of the Dipswitch continuously and display it on Display 1 bit 0 is equal to 1 . Otherwise display the status of the Dip-switch on Display 2

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

What is the difference between management and leadership?

Answered: 1 week ago