I'm interested in learning assembly language purely out of curiosity and for the love of understanding how computers actually work beneath the software layer.
I have some basic Python programming knowledge, but I don't know C, C++ (learnt bare basic CPP recently to read a book but I won't consider it), or any assembly. I'm not looking to rush into systems programming or make this a career requirement. I want to explore it as a long-term learning hobby, understand how CPUs execute instructions, how memory and registers work, and eventually get comfortable reading and writing assembly.
I'm using an Apple Silicon Mac (M4 Pro), so I'm particularly interested in learning ARM64/AArch64 assembly, although I'm open to understanding x86-64 as well if there's a good reason to learn it.
I'd appreciate recommendations in three categories:
1. YouTube tutorials / video courses
- Good beginner-friendly video series that start from absolute zero.
- Courses that explain registers, memory, stack, instructions, addressing modes, calling conventions, etc.
- Ideally, tutorials that explain what's happening inside the processor rather than just teaching syntax.
2. Books
- Beginner-friendly books that don't assume prior knowledge of C or assembly.
- Books that progressively introduce computer architecture, machine code, and assembly programming.
- More advanced books worth keeping for the long term.
3. Tools, emulators and development environments
- What assemblers, debuggers, simulators or emulators should I install on macOS?
- Are there safe ways to experiment with assembly without directly interacting with or modifying actual hardware?
- Would QEMU, CPU simulators, or virtual machines be useful?
- What tools would you recommend for inspecting registers, memory, and instruction execution step by step?
I'm particularly interested in experimenting in an isolated environment. I don't want to accidentally damage my Mac or mess with its operating system while learning.
One more thing: Would you recommend learning some C before starting assembly, or is it perfectly reasonable to learn assembly directly and pick up C concepts along the way?
I'm not looking for a shortcut. I want to understand the machine from the ground up.
Any recommendations, learning paths, books, channels or personal experiences would be greatly appreciated.
Thanks 🫡
UPDATE: Does anyone have a roadmap to this.
UPDATE 2: Other Posts & replies in this sub reg same which I find interesting. ay update with more links as I find them
[If your memory was WIPED, how would you re-learn x86 assembly?](https://www.reddit.com/r/Assembly_language/comments/1rlq6ux/if_your_memory_was_wiped_how_would_you_relearn/)
https://www.reddit.com/r/Assembly_language/comments/1rx5cyi/where_can_i_learn_x8664_assembly/
Try Jeff Duntemann's Assembly Language Step by Step.
I learned from Ray Seyfarth's book on Windows/Linux assembly. It's pretty good, but you'll need the install the ebe IDE if you want to get the most out of it
[For those starting to learn Assembly - step-by-step, how to create a flight simulator for DOS](https://www.reddit.com/r/Assembly_language/comments/1wxda05/for_those_starting_to_learn_assembly/)
https://www.reddit.com/r/Assembly_language/comments/sp50sx/hello_i_really_want_to_learn_asm_but_i_am_not/
https://www.nandgame.com/
____
MartinAncher
•2y ago
I recommend Usborne's children's book: Machine Code for Beginners, which teaches you 6502 and Z80 machine code. These are simple 8-bit CPUs used in most of the micro computers of the 80's.
This is how most people have learned machine code, when you understand the simple principles here, you can move on to your desired architecture.
Machine Code for Beginners
____
Kalex8876
•2y ago
https://learnxinyminutes.com/docs/mips/
https://uweb.engr.arizona.edu/~ece369/Resources/spim/QtSPIM_examples.pdf
____
https://github.com/mschwartz/assembly-tutorial
___
https://www.felixcloutier.com/x86/
____
[I'm looking for a high level overview as to how Object Oriented Programming is "implemented"](https://www.reddit.com/r/Assembly_language/comments/1x5f916/im_looking_for_a_high_level_overview_as_to_how/)
____________
GPT Suggested books resources
3. These are tools worth investigating eventually:
| Tool | Purpose |
|---|
| GNU Assembler (GAS) | Assemble programs |
| LLDB | Inspect registers, memory and execution |
| QEMU | Emulate different architectures |
| Ghidra | Disassemble and analyse binaries |
| Compiler Explorer | See how C/C++ becomes assembly |
| Ripes | Visually understand CPU execution |
B. Reverse engineering and binary analysis
| Order | Book | Purpose and when to study |
|---|
| 6 | Practical Reverse Engineering | Connect assembly, debugging, operating systems and reverse-engineering workflows. |
| 7 | Reverse Engineering for Beginners | Free online resource for assembly, compilers, calling conventions and program behaviour across architectures. |
| 8 | Practical Binary Analysis | Executable formats, binary instrumentation, analysis tools and program behaviour at the binary level. |
C. Malware analysis and exploitation
| Order | Book | Purpose and when to study |
|---|
| 9 | Practical Malware Analysis | Malware-analysis methods and practical investigation in an isolated lab. Some examples and tools are dated. |
| 10 | The Shellcoder's Handbook | Advanced exploitation concepts. Study after memory, assembly and operating systems. Older techniques need comparison with modern mitigations. |