有关于汇编语言试验9的提问
assume cs:codesgdatasg segment
db 'welcome to masm!',00000010B,00100100B,01110001B
datasg ends
codesg segment
start:mov ax, datasg
mov ds, ax
mov ax, 0b800h
mov es, ax
mov cx, 16
mov bx, 0
mov si, 0
mov ax, 0
s:mov al, ds:
mov es:, al
mov al, ds:
mov es:, al
inc bx
add si, 2
loop s
mov bx, 0
mov cx, 16
mov ax, 0
mov si, 0
s1:mov al, ds:
mov es:, al
mov al, ds:
mov es:, al
inc bx
add si, 2
loop s1
mov bx, 0
mov cx, 16
mov ax, 0
mov si, 0
s2:mov al, ds:
mov es:, al
mov al, ds:
mov es:, al
inc bx
add si, 2
loop s2
mov ax, 4c00h
int 21h
codesg ends
end start
这个程序应该显示三行的 但是却只是显示了两行,求大神找错误 你的程序没错误啊,能够正常显示3行的 我也看不出来问题
页:
[1]