; AddVariables.asm - Chapter 3 example. INCLUDE Irvine32.inc .386 Comment ! ;model flat and Irvine32 model can't be used together, ;or multiple .MODEL directives found : .MODEL ignored More than one .MODEL directive was found in the current module. Only the first .MODEL statement is used. ! ;.model flat,stdcall .stack 4096 ExitProcess proto,dwExitCode:dword .data firstval dword 20002000h secondval dword 11111111h thirdval dword 22222222h sum dword 0 .code main proc mov eax,firstval add eax,secondval add eax,thirdval mov sum,eax call DumpRegs invoke ExitProcess,0 main endp end main