News for hackers. Stuff that matters.
Re:The Art of Assembly Language (1996) by lallysingh on Thursday March 29, 2018 @04:27PM (#16710753)
It's not bad at all. You can always start with gcc -S to give you assembler output of a compilation, then modify as you want, or compare with the compiler.

As for an ISA, it's not clean but there's only so much you can do to an assembler language, so it's not that bad. And the docs are pretty good.

Re:The Art of Assembly Language (1996) by AnimalMuppet on Thursday March 29, 2018 @04:54PM (#16710937)
I've used that several times. One more thing I want: The C/C++ code as comments in the assembler file. Is there a gcc switch for that that I don't know about?
Re:The Art of Assembly Language (1996) by zielmicha on Friday March 30, 2018 @04:57AM (#16714708)
You can use "objdump -S" on a binary compiled with debugging symbols. (This way you can get assembly in Intel syntax with "-M intel")
Re:The Art of Assembly Language (1996) by klodolph on Thursday March 29, 2018 @05:32PM (#16711243)
You can use -g -Wa,-adhls and then do some post-processing, the .file and .loc directives give you what you need.