实验九,我回来了
assume cs:code ,ds:data ,ss:stackdata segment
db 'Welcome to masm!'
db02,36,113
data ends
stack segment
dw 8 dup(0)
stack ends
code segment
start: mov ax,data
mov ds,ax
mov ax,stack
mov ss,ax
mov sp,16
mov ax,72h
add ax,0b800h
mov es,ax
mov bx,0
mov si,0
mov ax,0
mov cx,3
s1: push cx
push bx
mov ah,
push ax
push si
mov si,0
mov di,0
mov cx,16
s2: mov al,
mov es:,al
mov es:,ah
add si,1
add di,2
loop s2
pop si
add si,1
pop ax
mov ah,
pop bx
add bx,160
pop cx
loop s1
mov ax,4c00h
int 21h
code ends
end start
发错地方了,帮忙移到汇编去吧 :mad:
页:
[1]