Assembly Language – Assembler, Linker

To assemble a file, you issue a command of the form

nasm -f <format> <filename> [-o <output>]
<format> options ->  elf32 or elf64

To link the assembly object file to the binary executable form

ld -o <filename> <filename.o>