.386
.model flat,stdcall
option casemap:none
include D:/masm32/include/masm32.inc
include D:/masm32/include/kernel32.inc
includelib D:/masm32/lib/masm32.lib
includelib D:/masm32/lib/kernel32.lib
include D:/masm32/include/msvcrt.inc
includelib D:/masm32/lib/msvcrt.lib
.DATA
szFormat DB 'eax=%x',0
dwAge DD 22
.CODE
main proc
mov eax , DWORD ptr [offset dwAge]
invoke crt_printf, offset szFormat, eax ;
Ret
main endp
end main