brintos

brintos / llvm-project-archived public Read only

0
0
Text · 323 B · 0b9930b Raw
18 lines · plain
1.section __TEXT,__cstring2.globl _hello_world, _hello_its_me, _print_hello3 4_hello_world:5.asciz "Hello world!\n"6 7_hello_its_me:8.asciz "Hello, it's me\n"9 10.text11_print_hello:12  movl $0x2000004, %eax # write() syscall13  mov $1, %rdi # stdout14  leaq _hello_world(%rip), %rsi15  mov $13, %rdx # length of str16  syscall17  ret18