Need Help Learning Assembly

15 hours ago

There is not much discussion online about which books to read about assembly, i was looking for a concise roadmap to learn it Thanks for helping me out

There is a game on Steam called "Turing Complete". It teaches you how to build a fully functional computer from scratch. I recommend you play this game while you work through the theory.

Learn to program with Assembly by Jonathan Bartlett is what you’re looking for. I read the previous version and it was great.

Not sure your time scale or starting point, but just to throw something out there: I recommend learning computer architecture first. https://archive.org/details/ComputerArchitectureAQuantitativ... I had a class in school where we had to build a simple computer on an FPGA and wrote a gcc compatible assembler for it. Passing was being able to run simple C programs on it. I felt like that project was the best experience for really understanding assembly from the bottom and from the top.

An unrelated resource I thought looked good was this: https://github.com/FFmpeg/asm-lessons

  • my starting point is really just now, im not very experienced in coding and i just wanted to learn assembly to really understand whats going on under the hood, but i am actually reading a computer architecture right now currently reading Introduction to Computing Systems 3rd edition

    thanks for the github resource although its saying that i have to learn c bottom to top lol

Build yourself a 6502 microcomputer. It’s fairly simple and there’s complete board designs available. The reason is that the CPU is simple enough to quickly grasp all important concepts, and it is still available. Starting with x86 might be too frustrating at the beginning. Also you will learn much more than just assembly code - you will learn all parts and things that make assembly possible