In the first post of the series, we give a preview into the expectations from this blog series. In the second post of this blog series, we introduce some basic concepts that might be required to understand the upcoming blog posts. Introduction The x86_64 assembly instruction set (or simply known as x64) is an extension…
Category: x86 Assembly
Assembly Basics
Return Zero
To start learning how to read assembly, we first take a look at a very basic C function and its stack. We will look at the assembly of the following C program: This program simply returns the return code 0 for the main() function to signify successful completion. A non-zero return code can be used…
Practically Understanding x86_64: Preview
This will be a series of posts directed at people who want to learn how to read the x86_64 assembly code of their C program. These posts are aimed to provide an understanding of the most important components of x86_64 assembly and how the x86_64 processors manage memory when a C program is executed. This…