Basic Assembly Tutorial

February 2016, Cremona, Italy

Welcome! This is a simple and basic Assembly tutorial for PC, using the "NASM" compiler and the "ld" linker. Those pages are mainly for my own reference, but of course if it will be of some use to someone else I'll be very happy. The OS I'll refer to is Linux. To get the assembler: "sudo apt-get install nasm" if you use Debian.


Lesson 1 - Introduction, Hello World, read keyboard input.
Lesson 2 - Data and registers.
Lesson 3 - Constants, macros, basic instructions.
Lesson 4 - Conditional jumps, including source files.


Digression on executable files

That's it for now, my holidays are over and it's time to get back to fluid dynamics! :-)

Back to Homepage