Learning to read GCC assembler output

Posted by porgarmingduod on Stack Overflow See other posts from Stack Overflow or by porgarmingduod
Published on 2010-04-09T22:26:57Z Indexed on 2010/04/09 22:33 UTC
Read the original article Hit count: 251

Filed under:
|
|
|

I'm considering picking up some very rudimentary understanding of assembly. My current goal is simple: VERY BASIC understanding of GCC assembler output when compiling C/C++ with the -S switch.

Just enough to do simple things such as looking at a single function and verifying whether GCC optimizes away things I expect to disappear.

Does anyone have/know of a truly concise introduction to assembly, relevant to GCC and specifically for the purpose of reading, and a list of the most important instructions anyone casually reading assembly should know?

© Stack Overflow or respective owner

Related posts about gcc

Related posts about assembly