🔧Assembly ( NASM )

Introduction

this section of the book is about the basics of assembly programming for Intel x86/64 architecture with NASM assembler. its not a full tutorial in assembly and i wont go into details about registers and Intel IA32 architecture.

you can check my x86-nasm repository for a lot of example codes in x86 NASM. the codes are well commented and you can understand them easily, i suggest you read this section of the book and practice with those codes to have a better understanding.

the best way to understand assembly and be able to read disassembly is to write code in a higher level language like C or C++ ( use debugging options when compiling it like '-g' for gcc ) then disassemble it and try to understand the execution flow. you can also have your friend write some C code and compile it then you can disassemble it and try to write the same program in C from the disassembly.

Resources

some other resources:

Last updated