Learning x86 with NASM — Working with Data and Stack Memory

Scott Cosentino
4 min readJun 1, 2022

In this article, we will create a program that stores simple numeric data using the .data section. We will first look at the different methods of declaring data. Once we have our data declared, we will look at how it can be loaded into a register for use.

--

--