Skip to content

Instantly share code, notes, and snippets.

@astocko
Created July 31, 2014 02:30
Show Gist options
  • Save astocko/2384171f031da779e8cf to your computer and use it in GitHub Desktop.
Save astocko/2384171f031da779e8cf to your computer and use it in GitHub Desktop.
Readable ASM gcc
# create assembler code:
c++ -S -fverbose-asm -g -O2 test.cc -o test.s
# create asm interlaced with source lines:
as -alhnd test.s > test.lst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment