Assembly x86 tutorials
sudo apt-get install nasm
nasm -f elf32 ex1.asm -o ex1.o
elf32 - executable and linking format.
ld -m elf_i386 ex1.o -o ex1
./ex1
echo $?
nasm -f elf32 ex10.asm -o ex10.o
gcc -m32 ex10.o -o ex10
Assembly x86 tutorials
sudo apt-get install nasm
nasm -f elf32 ex1.asm -o ex1.o
elf32 - executable and linking format.
ld -m elf_i386 ex1.o -o ex1
./ex1
echo $?
nasm -f elf32 ex10.asm -o ex10.o
gcc -m32 ex10.o -o ex10