- Hello world
syscall
(continued)equ
inc
and labelsjmp
andcmp
Run with
./run.sh 02-syscall
Others:
Registers for syscall arguments: rdi, rsi, rdx, rcx, r8, r9 https://en.wikipedia.org/wiki/X86_calling_conventions#x86-64_Calling_Conventions
Learning x86-64 assembly with NASM
syscall
(continued)equ
inc
and labelsjmp
and cmp
Run with
./run.sh 02-syscall
Others:
Registers for syscall arguments: rdi, rsi, rdx, rcx, r8, r9 https://en.wikipedia.org/wiki/X86_calling_conventions#x86-64_Calling_Conventions