Assembly ( NASM )
Last updated
Last updated
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.
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.
some other resources: