怎么回事乱码呀
data segmentmes db 16 dup (?)
data ends
stack segment stack 'stack'
db 100 dup (?)
stack ends
code segment
ASSUME cs:code,ds:data,ss:stack
start:
mov ax,data
mov ds,ax
lea si,mes
input:
mov ah,1
int 21h
cmp al,0dh
je display
mov [si],al
inc si
jmp input
display:
mov ah,09h
mov dx,seg mes
mov ds,dx
mov dx,offset mes
int 21h
mov ax,4c00h
int 21h
code ends
end start
源程序如上,我是想输入几个字符,然后让它显示出来,但为什么不行呢。大侠们,帮帮小弟,谢了