assume cs:codesg
codesg segment
mov ax,2000h
mov ds,ax
mov bx,0
mov ax,6548h
mov [bx],ax
inc bx
inc bx
mov ax,6c6ch
mov [bx],ax
inc bx
inc bx
mov ax,206fh
mov [bx],ax
inc bx
inc bx
mov ax,6f77h
mov [bx],ax
inc bx
inc bx
mov ax,6c72h
mov [bx],ax
inc bx
inc bx
mov ax,2164h
mov [bx],ax
inc bx
inc bx
mov al,36
mov [bx],al
mov dx,0
mov ah,9
int 21h
mov ah,1
int 21h
mov ah,4ch
int 21h
codesg ends
end
------解决方案--------------------------------------------------------
......怎么不开个数据段,这样写个循环多好……