Skip to content

Instantly share code, notes, and snippets.

@eatnumber1
Created June 19, 2014 20:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eatnumber1/50142ff240b2a5bf3505 to your computer and use it in GitHub Desktop.
Save eatnumber1/50142ff240b2a5bf3505 to your computer and use it in GitHub Desktop.
a.out:
(__TEXT,__text) section
_main:
0000000100000f70 pushq %rbp
0000000100000f71 movq %rsp, %rbp
0000000100000f74 movl $0x0, -0x4(%rbp)
0000000100000f7b movl $0x1, -0x8(%rbp)
0000000100000f82 movl -0x8(%rbp), %eax
0000000100000f85 addl $0x2, %eax
0000000100000f8a movl %eax, -0x8(%rbp)
0000000100000f8d movl -0x8(%rbp), %eax
0000000100000f90 popq %rbp
0000000100000f91 ret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment