Hacker News new | ask | show | jobs
by Alupis 4303 days ago
Goes very well with some Assembler (GAS - GNU Assembler, ie. Linux Assembly) knowledge -- and, there's a great free ebook for that!

http://download.savannah.gnu.org/releases/pgubook/Programmin...

2 comments

Too bad it's AT&T syntax, which is pretty incompatible with the majority of x86 reference material out there (including Intel's own manuals)... something like fasm/nasm would probably be much better in a *nix enviroment. This gives some of the reasons why: http://x86asm.net/articles/what-i-dislike-about-gas/

It's also an odd order for that book to defer binary/hex and data representation until far beyond other more complex/higher-level material. The fact that the code listings have a "compiler-generated" feel to it, complete with redundant instructions, suggests that this isn't a great way to learn Asm; see https://news.ycombinator.com/item?id=8248172 for a more detailed explanation.

Also another good one:

"Creating Really Teensy ELF Executables for Linux"

http://www.muppetlabs.com/~breadbox/software/tiny/teensy.htm...