by Waterluvian · 3y ago · 0 comments
I imagine an Assembly reader sees these things. I wonder if there’s a guide like this for them.
Other than that, I like "Assembly Language Step By Step" by Jeff Duntemann, which is currently in its third edition and is Linux-only, as opposed to previous editions which were MS-DOS and Linux. He has example assembly code (Intel syntax for NASM, another reason I like his book) for download on his website:
http://www.duntemann.com/assembly.html
My only annoyance is that apparently, even the most recent edition from 2009 is still 32-bit only.
Anyway, beyond that, you'd be looking for information on using assembly language to perform some specific task, like writing vectorized numerical code.
1. Data movements (mov)
2. Control flow (various jumps with corresponding tests, call and ret)
3. Calling convention. But you can often wing this and figure it out from context.
https://wiki.osdev.org/Calling_Conventions
Richard Blum [2] after Dunteman.
[1] At a reasonable level of approximation.
[2] https://www.wiley.com/en-us/Professional+Assembly+Language-p...
Like the Good Lord intended.