汇编实验13(2)
assume cs:codecode segment
start:
mov ax,cs
mov ds,ax
mov si,offset s0
mov ax,0
mov es,ax
mov di,200h
mov cx,offset s2 - offset s0
cld
rep movsb
mov word ptr es:,200h
mov word ptr es:,0
mov ax,4c00h
int 21h
s0:
push bp
dec cx
jcxz s1
mov bp,sp
add ,bx
s1:
pop bp
iret
s2:nop
code ends
end start
页:
[1]