十进制转换为十六进制
;输入一个十进制数,并以十六进制数的形式显示。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:将光标置于这一行
原创
2010-11-26 15:11:00 ·
701 阅读 ·
0 评论