10 ms·
"Assembly Language Step-by-Step Third Edition" 3rd Edition by Jeff Duntemann is a great book. It starts with the very foundation and builds up, up to interfaci
by znpy 7y ago
"Assembly Language Step-by-Step Third Edition" 3rd Edition by Jeff Duntemann is a great book.
It starts with the very foundation and builds up, up to interfacing with C and implementing data structures, still in assembly.
Sadly, this book still references 32-bit ISA. My guess is that the author got old enough not to bother updating the book anymore (the first editions of the book were about assembly programming in DOS, then DOS and Linux, then Linux only).
Still a very valid book, as x86-64 is backwards-compatible with 32-bit x86. Also, as somebody else has written, once you understand the basics, you can mostly swap things like register names and/or look to the reference pages of your cpu/linker/assembler.