Learning x86 with NASM — Working with Data and Stack Memory

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.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store