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

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