A seven segment display is connected to output port 30H for an Intel 8086 based system. Write a
program to convert the content of memory location C000H to seven segment display. Assume
that the memory location contains any number from 0 to 9. If the number is greater than 9 all the
LEDs of the display should be off. ( Hint: store the bit pattern for numbers from 0 to 9 in memory
locations D000H-D009H and then the program should find the pattern according to the number
in C000H and display that to output port 30H)
soln
program to convert the content of memory location C000H to seven segment display. Assume
that the memory location contains any number from 0 to 9. If the number is greater than 9 all the
LEDs of the display should be off. ( Hint: store the bit pattern for numbers from 0 to 9 in memory
locations D000H-D009H and then the program should find the pattern according to the number
in C000H and display that to output port 30H)
soln
Comments
Post a Comment