Hi pop29684,
Moving those figures into the bytes worked well. However, it worked for me when I knew what digit I wanted to display on the 7-segment. In instances where I can't be sure which digit will be displayed at a particular time, I am still struggling. The STL code I had shared earlier, I got help to convert it into SCL code and it worked. The only problem is it gives me a double word output but that is a lot more bits than I need since my display areas are only bytes. And I can't easily tell which byte to extract from the double word. If you may know another way, please advise.
Thank you.