string db 10 db 0 s1 db dup ('$') lea dx,stringmov ah,0ahint 21h lea dx,s1mov ah,9int 21h主要就是int 21h 10号功能的调用有问题。
10号中断调用前,事先要设置 DX。