Created
December 14, 2015 21:11
-
-
Save yanok/b9c070f1c80ff6c2f4f3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.intel_syntax | |
.section .rodata | |
main.S_0: | |
.string "Hello, world!\n" | |
.text | |
.global main | |
.type main, @function | |
main: | |
push %rbp | |
mov %rbp, %rsp | |
mov %rdi, OFFSET FLAT:main.S_0 | |
call print | |
L_main0: | |
mov %rax, 0 | |
mov %rsp, %rbp | |
pop %rbp | |
ret | |
L_main: | |
mov %rax, 0 | |
mov %rsp, %rbp | |
pop %rbp | |
ret |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment