Assuming you have the numbers 0-9 stored in a memory location then a straight-forward way is to have seven rungs, each controlling one segment output. The conditions of the rungs are equality tests (EQU) for those numbers which require the particular segment.