top of page

TITLE Program Template     (template.asm)

; Program Description:
; Author:
; Date Created:
; Last Modification Date:

INCLUDE Irvine32.inc

; (insert symbol definitions here)

.data
num dword 10,20,30,40
; (insert variables here)

.code
main PROC

mov esi,0
mov ecx,lengthof num
mov eax,0

loop1:
add eax,num[esi]
add esi,type num
loop loop1

call writedec
call crlf


; (insert executable instructions here)

    exit    ; exit to operating system
main ENDP

; (insert additional procedures here)

END main

bottom of page