Introduction - If you have any usage issues, please Google them yourself
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