在debug下调试得到的是乱码,不是hello
assume cs:code
date segment
db 'hello',0dh,0ah,'$'
date ends
code segment
start:mov ax,date
mov dx,ax
mov ah,09
int 21h
mov ax,4c00h
int 21h
code ends
end start
...全文
1031打赏收藏
显示的既然不是自己要的字符串
在debug下调试得到的是乱码,不是hello assume cs:code date segment db 'hello',0dh,0ah,'$' date ends code segment start:mov ax,date mov dx,ax mov ah,09 int 21h mov ax,4c00h int 21h code ends end start