Skip to content

Instantly share code, notes, and snippets.

@KamilaBorowska
Last active November 20, 2018 14:25
Show Gist options
  • Save KamilaBorowska/8163826 to your computer and use it in GitHub Desktop.
Save KamilaBorowska/8163826 to your computer and use it in GitHub Desktop.
.forty.two:
.string "42"
.globl main
main:
subq $8, %rsp
movl $.forty.two, %edi
call puts
xorl %eax, %eax
addq $8, %rsp
ret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment