这是我的代码,为什么运行之后闪了一下就什么结果也没出来啊?在线急等!
assume cs:codesg,ds:datasg
datasg segment
db 'welcome to masm!'
datasg ends
codesg segment
start:mov ax,0B800H
mov es,ax
mov ax,datasg
mov ds,ax
mov bx,0
mov si,780H
mov cx,16
s:mov al,[bx]
mov es:[si+64],al
mov byte ptr es:[si+65],02H
inc bx
add si,2
loop s
mov ax,4c00H
int 21H
codesg ends
end start |