Utiliser le script makeexec.sh
. Il peut compiler tous les fichiers .asm
de ce repo. Les fichiers contenant le mot clef extern
seront linkés à l'aide de GCC, car ceux-ci requiert la bibliothèque glibc
.
./makeexec.sh hello64.asm && ./hello64
./makeexec.sh number.asm && ./number
hello.asm
: Hello world en 32-bithello64.asm
: Hello world en 64-bitsayname.asm
: Vous dit Bonjour! avec votre nom en utilisant des syscallnumber.asm
: Importe la libc pour vous demander un nombre en utilisant scanf et printfargs.asm
: Liste les arguments qui lui sont passés en ligne de commande
- NASM
- Linux Assembly
- X86 Assembly
- x86_64 Linux Assembly (Youtube)
- Searchable Linux Syscall Table for x86 and x86_64
- Say hello to x64 Assembly [part 1]
- x64 Cheat Sheet
- The Stack: Push and Pop
- Full list of ordinary integer x86 registers and 64 bit registers
- 64 bit assembly language using c standard library
- Allocating Storage Space for Initialized Data
- x86-64 Assembly Language Programming with Ubuntu