about summary refs log tree commit diff stats
path: root/example/samples/x86_64.S
blob: c37d30fada7b2bb9c18f765e6390d2615795dabb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
main:
    MOV R9, 0x0
    LEA R8, QWORD PTR [title]
    LEA RDX, QWORD PTR [msg]
    MOV RCX, 0x0
    CALL QWORD PTR [ MessageBoxA ]
    RET

title:
.string "Hello!"
msg:
.string "World!"