Write a Pentium assembly language program that will convert a BCD number in AL
to a seven-segment code using a look-up table containing the seven-segment codes of
the BCD numbers. Use a common-cathode display. Assume that the table is stored in
memory starting at offset 2000H. Use the XLAT instruction. Initialize DS to 3000H.

Also, don't ask us to do your homework for you. Make an effort, post your code and errors/problems you are having, and then we can help you much more effectively.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.