Linux Tooling
#Linker
#NASM
#Terminal
ASM & Linker: The Minimal Linux Setup
The smallest useful toolchain for NASM and ld on Linux, documented compactly.
ASM & Linker
-
Assemble the assembly file
# -f elf64 creates an object file for use on Linux nasm -f elf64 -o objectfile.o input.asm -
Create an executable using the linker
ld -o program outputfile.o -
Run the program
./program