If you place the LED7SEG module, you will find at bottom of module datasheet simple
C or ASM code to use display.
from the "user modules" -> misc Digital-> LED7SEG
Just a guess that Jatin123 is no longer looking at this thread after a couple
of months old.