Files
assembly/x86_64
2019-03-11 19:00:28 +01:00
..
2019-03-10 12:17:59 +01:00
QoL
2019-03-11 19:00:28 +01:00
QoL
2019-03-11 19:00:28 +01:00
2019-03-10 21:18:54 +01:00
QoL
2019-03-11 19:00:28 +01:00

Build steps

Assembling

Assembling with NASM

nasm -g -f elf64 <file.asm>
  • g = include debug info
  • f = file format (elf64 -> x64)

Linking

ld <object-files> -o <executable-name>  # Default
gcc <object-files> -o <executable-name> # When using C library functions

Based upon the work of Carmo M de F Barbosa

The Linux system call table and useful links can be found here.