repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
lld
/
test
/
COFF
/
Inputs
/
hello64.asm
blob
6605213224bc0aaee289137c95f17ba82ddf08b5
1
;; ml64 hello64.asm /link /subsystem:windows /defaultlib:kernel32 \
2
;; /defaultlib:user32 /out:hello64.exe /entry:main
3
4
extern ExitProcess
:
PROC
5
extern MessageBoxA
:
PROC
6
extern
ImportByOrdinal:
PROC
7
8
.data
9
caption
db
'Hello'
,
0
10
message
db
'Hello World!'
,
0
11
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