← Zurück zum Blog
Linux Tooling #Linker #NASM #Terminal

ASM & Linker: The Minimal Linux Setup

The smallest useful toolchain for NASM and ld on Linux, documented compactly.

Veröffentlicht am 12.01.2026

ASM & Linker

  1. Assemble the assembly file

    # -f elf64 creates an object file for use on Linux
    nasm -f elf64 -o objectfile.o input.asm
  2. Create an executable using the linker

    ld -o program outputfile.o
  3. Run the program

    ./program