Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / COFF / Inputs / hello64.asm
blob6605213224bc0aaee289137c95f17ba82ddf08b5
1 ;; ml64 hello64.asm /link /subsystem:windows /defaultlib:kernel32 \
2 ;; /defaultlib:user32 /out:hello64.exe /entry:main
4 extern ExitProcess : PROC
5 extern MessageBoxA : PROC
6 extern ImportByOrdinal: PROC
8 .data
9 caption db 'Hello', 0
10 message db 'Hello World!', 0
12 .code
13 main PROC
14 sub rsp,28h
15 mov rcx, 0
16 lea rdx, message
17 lea r8, caption
18 mov r9d, 0
19 call MessageBoxA
20 mov ecx, 0
21 call ExitProcess
22 call ImportByOrdinal
23 main ENDP
24 END