; ml64 /c demo64_2.asm
; link demo64_2.obj /subsystem:console /entry:main /out:demo64_2_masm.exe

includelib kernel32.lib
includelib ucrt.lib
includelib vcruntime.lib
includelib msvcrt.lib
includelib legacy_stdio_definitions.lib
			
extern printf:proc
extern ExitProcess:proc

.data
msg_content db "Hello World!", 0

.code
main proc
	lea rcx, msg_content
	call    printf
	
	xor     ecx, ecx
	call    ExitProcess
main endp
end
