;输入一个十进制数,并以十六进制数的形式显示。assume cs:codedata segment db 'Enter a decimal number between 0 and 65535,then it will be turned to a hexadecimal number.',0dh,0ah,'If you want to quit this program,just enter a button except 0~9 and enter.',0dh,0ah,'$' ;0dh:将光标置于这一行