看看这个可以卜,我没有调过
.MODEL SMALL
.STACK 64
data segment
RESULT DW ?
data ends
code segment
assume ds:date,cs:code
start :mov ax,data
mov ds,ax
mov ax,code
mov cs,ax
mov ax,0
mov bx,ax
mov bx,cx ;清零
mov bx,1
mov cx,100
chen : add ax,bx
inc bx
loop chen
mov result ,ax
mov ax,4c00h
int 21h
code ends
end start