TEM DB 'input a decimal number ','$'
TEM1 DB 'please choose one:1.16 2.BCD 3.gongyang 4.quit ','$'
TEM2 DB 'result is:','$'
STRA DB 0AH,0DH
NUM DB 4 DUP(?),'H$'
NUM1 DB '0123456789ABCDEF'
NUM2 DB '0000000100100011010001010110011110001001' ;BCD码
NUM3 DB '40792430191202780018' ;七段共阳极码
1