r/asm 17d ago

x86-64/x64 Resources to learn x86_64 assembly for Linux?

Title. I'd love it if y'all could point me towards resources. Right now I'm just using Exercism and following random YouTube tutorials. I really want to make simple programs with it :D

10 Upvotes

5 comments sorted by

1

u/cyberbemon 16d ago

Jeff Duntemann's "Learn Assembly Programming step by step programming with linux (3rd edition)" is a good book, I'm reading through it now and I found it after reading so many threads, it was one of the most suggested books. It's a bit slow to start and the author goes into great detail about things and I like his writing style.

You can find the pdf version of the book, if you just put the name on google.

1

u/jesset77 16d ago

https://www.felixcloutier.com/x86/

https://cs.brown.edu/courses/cs033/docs/guides/x64_cheatsheet.pdf

https://filippo.io/linux-syscall-table/

These just happen to be the most dog-eared bookmarks from when I was working with Linux x64 (especially SSE/AVX SIMD) assembly 🙂

1

u/Foralost 14d ago

if you know C you can convert .c file to .s file, and from it learn stuff, however a book would be a good choice 👍🏻

1

u/Foralost 14d ago

you can compile it further to elf but i have forgotten the flag 🥱