文件名称:sum
介绍说明--下载内容均来自于网络,请自行研究使用
code segment
assume cs:code
sum_p proc near
jcxz exit
add ax,cx
dec cx
call sum_p
exit: ret
sum_p endp
start: mov ax,2000h
mov ds,ax
mov ax,0
mov si,0
mov cx,7
call sum_p
mov [si],ax
mov ah,4ch
int 21h
code ends
end start-code segment assume cs: codesum_p proc near jcxz exit add ax, cx dec cx call sum_pexit: retsum_p endpstart: mov ax, 2000h mov ds, ax mov ax, 0 mov si, 0 mov cx, 7 call sum_p mov [si], ax mov ah, 4ch int 21hcode ends end start
assume cs:code
sum_p proc near
jcxz exit
add ax,cx
dec cx
call sum_p
exit: ret
sum_p endp
start: mov ax,2000h
mov ds,ax
mov ax,0
mov si,0
mov cx,7
call sum_p
mov [si],ax
mov ah,4ch
int 21h
code ends
end start-code segment assume cs: codesum_p proc near jcxz exit add ax, cx dec cx call sum_pexit: retsum_p endpstart: mov ax, 2000h mov ds, ax mov ax, 0 mov si, 0 mov cx, 7 call sum_p mov [si], ax mov ah, 4ch int 21hcode ends end start
(系统自动生成,下载前可以参看下载内容)
下载文件列表
sum.txt