I don't know what you do with irvine32.dll but if you want to se the result of your calculation you can do it like this.
Code:
.586
.model flat,stdcall
option casemap:none

include user32.inc
include kernel32.inc

includelib user32.lib
includelib kernel32.lib

.data
x   SDWORD    -3000, -2000, -1000, 0, 1000, 2000, 3000
y   SDWORD   7 DUP (?) 
z   SDWORD   ?
szFormat	db "Result: %d",0

.data?
buffer		dd 128 DUP (?)

.code
begin:
	lea eax,x
	lea ebx,y
	lea edx,z
	mov ecx,7
	
next:
	
	;pushing x into a stack
	push [eax]
	add eax,4
	
	;pop the stack and store to y
	pop [ebx]
	add ebx,4
	loop next
	
	
	mov ecx,7	
	;sum all
	
	next1:
	add ebx,4
	loop next1
	
	;stores into z
	mov edx,ebx	
	push z
	lea eax,szFormat
	push eax
	lea eax,buffer
	push eax
	call wsprintf
	add esp,0Ch
	
	push 0
	push 0
	lea eax,buffer
	push eax
	push 0
	call MessageBox
	
	push 0
	call ExitProcess
	
end begin