;1to100
include io32.inc
.data
msg1 byte 'Please input a number(1350):',0
msg2 byte 'This sum is:',0
.code
start:
mov eax,offset msg1
call dispmsg
call readsid
mov ecx,eax
mov eax,0
again:add eax,ecx
loop again
push eax
mov eax,offset msg2
call dispmsg
pop eax
call dispsid
exit 0
end start