Before we start coding in Assembly, we need to set up our enviromnent. This section will guide you through the process of installing the neccesary tools required to write and assemble a assembly program. We will use 'NASM', short for 'Netwide Assembler' and 'GNU LD' linker to link it.
The Netwide Assembler (NASM) is a popular and widely used assembler for x86 and x86_64 assembly programming. To install it, you need to open Bash which is usually opened with ctrl-alt-c on Linux distros.
sudo apt install nasm binutilsAfter you've installed it, you can verify it with:
nasm -vTo install a assembly debugger, you can download 'GNU gdb', to install it:
sudo apt install gdbAfter you've installed it, you can verify it with:
gdb -v