data segment
buf db 'the one: $'
data ends
code segment
assume cs:code,ds:data
start:
mov ax,data
mov ds,ax
mov dx,offset buf
mov ah,9
int 21h
code ends
end start
环境是win2000,masm 5.0
...全文
302打赏收藏
初学乍练,写个输出字符的却出不来,各位老大帮我看看
data segment buf db 'the one: $' data ends code segment assume cs:code,ds:data start: mov ax,data mov ds,ax mov dx,offset buf mov ah,9 int 21h code ends end start 环境是win2000,masm 5.0