NASM Coding: Basics

The rest of these lecture notes will teach us some basic coding skills in NASM. Specifically, since the online NASM compiler that we introduced on slide 11 supports NASM x86_64 on Linux, our slides will focus on code examples that run on a x86_64 Linux device only.

In Linux x86_64 NASM programs:

In short, a NASM program consists of (1) data, (2) instructions, and a defined entry point into the program (

_start
).