Getting started
This part starts the course: what assembly language is, where an assembly program runs, the install of nasm and the version it reports, the syntax of a source file, and the first program that nasm assembles and ld links. Every lesson is a short program you can type into a file and build on your own machine.
1.1
What is assembly language
what assembly is, where an assembly program runs, and why NASM is the assembler this course uses
Open
1.2
Install NASM and check the version
NASM from the system repositories or a release archive, the version in nasm -v, and the linker the next step needs
Open
1.3
NASM syntax basics
the sections of a source file, labels, and operands in the order NASM reads them
Open
1.4
Your first program
a hello program with two syscalls, assembled with nasm, linked with ld, and the anatomy of each line
Open