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' ;七段共阳极码
2021-11-19 19:37:48 7KB 十进制 十六进制 BCD码 共阳极码
1