eol75999 发表于 2021-3-10 11:17:44

汇编实验13(2)

assume cs:code
code 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]
查看完整版本: 汇编实验13(2)