Question: (%25) Assume that there are two 7-segment LED displays connected to port B of a PPI (8255) at address 0770H. The displays are connected to

 (%25) Assume that there are two 7-segment LED displays connected to

(%25) Assume that there are two 7-segment LED displays connected to port B of a PPI (8255) at address 0770H. The displays are connected to the PPI through 7 Segment Display drivers as shown below. a) Write a macro, DIGITDISPLAY, that receives the packed BCD number as its input argument and displays the two-digit number on the given 7 segment displays. b) Write an assembly language program that uses the macro given in (a) to display the numbers, from 00 to 99 and then from 99 to 00 continuously in an infinite loop. The two-digit counter is incremented/decremented at every 0.5 seconds. PAD PA1 PA2 PA3 PA4 PAS PAG PA7 8255 PPI PBO P81 PB2 PB3 PB4 PB5 PB6 PB7 PCO PC1 PC2 PC3 PC4 PC5 e per Die Dee PCG PC7 818

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!