Adding the -L option (for example, gcc -L -ahl ) may provide somewhat more comprehensible lists.
The equivalent option is MSVC /FAcs (and it is slightly better because it interleaves the source, machine language and binary and includes some useful comments).
About one third of my job is to do what you do: juggle with C code and then look at the assembly to make sure it is optimized correctly (which is preferable to just write the built-in assembly all over the place).
Blogs and articles for game development can be a good resource for this topic, because games are real-time applications in read-only memory - I have a few notes on it , so Mike Acton and others. I usually like to keep the instructions for installing Intel instructions in the window while browsing the lists.
The most useful thing is to first get a good idea about programming the assembly at ground level, not because you want to write assembly code, but because by doing this, make reading much easier. I had a hard time finding a good modern textbook.
Crashworks Jan 07 2018-10-10T00: 00Z
source share