Assembler course

Fifty short lessons, one unbroken chain: every lesson has previous and next buttons, so you can read the course start to finish. Each lesson teaches one idea with short NASM examples, and the longer deep dives live on their own pages under Assembler.

Start with lesson 1, What is assembly language. For a short introduction to the language read Assembler basics.

Lessons

Click a part of the course to open or close its lessons.

How to use this course

Type every example, do not just read it. Assemble each snippet with nasm -f elf64 and link it with ld before moving on - the course assumes your hands remember lesson 4 by the time lesson 12 arrives.

The assembly rules apply from day one: operands in order (destination first), one instruction per line, and a comment on every non-obvious line.