2 eywa1997929 eywa1997929 于 2013.11.21 12:40 提问

帮忙看看怎么错了,纠结了3天了,求你了!

assume cs:code,ds:xinyi,ss:start
xinyi segment
db 'welcome to masm!'
db 0ah,2ch,79h
xinyi ends

start segment
dw 0,0,0,0,0,0,0,0
start ends

code segment
data:mov ax,start
mov ss,ax
mov ax,10h
mov sp,ax
mov di,0
mov bx,16
mov si,0
mov ax,xinyi
mov ds,ax

s: mov ax,[bx]
push ax

 mov ax,[di]
 push ax

 mov dx,0b800h
 mov ds,dx
 pop ax
 mov [si],ax
 inc si
 pop ax
 mov [si],ax
 inc di
 loop s
 inc bx
 jmp short s

 mov ah, 0
     int 16h

 mov ax,4c00h
 int 21h

code ends
end data

帮忙看下怎么错了
我想在屏幕上显示welcome to masm!

1个回答

eywa1997929
eywa1997929   2015.07.26 01:05
已采纳

问题已解决,打扰了,谢谢

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!