怎么没有输出结果
stack segment stack
stack ends
data segment
ALout db 'Please putin a Dnum:',0ah,0dh,24h
crlf db 0ah,0dh,24h
string db 30
db 0
db 30 dup('$' )
data ends
code segment
assume cs:code,ds:data,ss:stack
start:
mov ax,data
mov ds,ax
mov dx,offset ALout
mov ah,09h
int 21h
mov ah,0ah
int 21h
mov ah,09h
mov dx,offset crlf
int 21h
mov bx ,offset string
mov ax ,[bx+2]
mov bl,al
mov cl,4
shr al,cl
add al,30h
mov dl,al
mov ah,02h
int 21h
mov ah,09h
mov dx,offset crlf
int 21h
or bl,0fh
add bl,30h
mov dl,bl
mov ah,02h
int 21h
code ends
end start