Skip to content

Instantly share code, notes, and snippets.

@nickdesaulniers
Created April 3, 2013 07:40
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 nickdesaulniers/5299169 to your computer and use it in GitHub Desktop.
Save nickdesaulniers/5299169 to your computer and use it in GitHub Desktop.
gobjdump -j .text -d mul.o -M intel
$ gobjdump -j .text -d mul.o -M intel
Disassembly of section .text:
0000000000000000 <_mul>:
0: 55 push rbp
1: 48 89 e5 mov rbp,rsp
4: 89 7d fc mov DWORD PTR [rbp-0x4],edi
7: 89 75 f8 mov DWORD PTR [rbp-0x8],esi
a: 8b 75 fc mov esi,DWORD PTR [rbp-0x4]
d: 0f af 75 f8 imul esi,DWORD PTR [rbp-0x8]
11: 89 f0 mov eax,esi
13: 5d pop rbp
14: c3 ret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment