我想把输入字符对应的ascii码打出来,结果不对啊
start: mov ax,data mov ds,ax ;input code segment code here mov ah,01h;//input a character int 21h ;sub al,'0';//input into al mov dh,al mov dl,al and dh,0f0h shr dh,1 shr dh,1 shr dh,1 shr dh,1 and dl,0fh add dh,30 add dl,30 mov ah,02h;//output int 21h mov dl,dh int 21h