Re:Let's Write Some x86-64
by middleclick on Thursday May 01, 2014 @01:45PM
(#7681397)
I have always been very interested in learning x86 (or _64) assembly. Is there a proper guide I can follow say over the summer?
[ Parent
| on HN ]
Try "Practical x64 Assembly and C++":
- http://www.whatsacreel.net76.net/asmtutes.html
- https://www.youtube.com/playlist?list=PL0C5C980A28FEE68D
Covers x86-64, MMX, SSE2/3/4, AVX.
The author, Chris Rose, has also written a free e-book: "Assembly Language Succinctly" -- (PDF) https://www.syncfusion.com/Content/downloads/ebook/Assembly_...
HTH!
The official manuals from intel are pretty good, better for reference but still good:
http://www.intel.com/content/www/us/en/processors/architectu...
Re:Let's Write Some x86-64
by ndesaulniers on Thursday May 01, 2014 @01:48PM
(#7681428)
A lot of the articles I link to at the end should be helpful. I'm torn; the compiler manuals have so much useful info in them, but they suck when it comes to learning assembly for the first time. Maybe someone else has a good book that they would recommend? Maybe this [0] but with some of the updates in mind.
[0] http://www.amazon.com/Professional-Assembly-Language-Richard...
Re:Let's Write Some x86-64
by AndrewBissell on Thursday May 01, 2014 @04:53PM
(#7682622)
I recently worked my way through "Programming From the Ground Up" and found it to be a good introduction, but note that it's only x86 (32-bit). You can easily compile and link your code in 32-bit mode, but you'll be working with 32-bit registers and pointers, and some slightly outdated techniques for making syscalls and such. At first I tried translating the book's examples to x64, but found it was pretty painful to mix that task with the complexity of learning assembly.
Re:Let's Write Some x86-64
by petridishlife on Thursday May 01, 2014 @03:55PM
(#7682330)
I was lucky enough to find a copy of Guide to Assembly Language: A Concise Introduction by James T. Streib which has been immensely helpful.
http://link.springer.com/book/10.1007/978-0-85729-271-1
I also stumbled on The Art of Assembly which may prove promising. http://www.ic.unicamp.br/~pannain/mc404/aulas/pdfs/Art%20Of%...