帮帮忙,求你们了,纠结三天了!
assume cs:code,ds:xinyi,ss:startxinyi 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,
push ax
mov ax,
push ax
mov dx,0b800h
mov ds,dx
pop ax
mov ,ax
inc si
pop ax
mov ,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!
大哥你用循环,你的cx呢?
cx 存放循环次数啦。。。
页:
[1]