nasm -f elf64 <file>.asm
ld -o name <file>.o
./name
nasm -f elf32 <file>.asm
ld -m elf_i386 -o <file>.exe <file>.o
./name
nasm -f elf <file>.asm
e ld -m elf_i386 -s -o <file> <file>.o
./<file>
This GitHub repository contains a collection of programs and code snippets written in i386 assembly language.
Assembly