Here is my personal repository where I keep x86_64 assembly code.
The goal of this repository is to implement in assembly the things I already know how to do in other languages, in order to learn assembly.
There is two ways to do it, with docker or without docker.
It will install the needed tools into the docker.
- Clone the repo.
git clone https://github.com/mug4z/ASM.git
- Go to the repo folder.
cd ASM
- Build the docker image.
docker build -t assembly .
- Run the docker
docker run -it -v .:/assembly assembly
- Go to assembly directory
cd assembly
Now all the command will be executed in the docker with the file on you're computer.
Just install the tools
- NASM (2.16.03) or higher
- gcc (14.2.0) or higher
- gdb (15.2) or higher
For linux
nasm -felf64 src/helloWorld.s && ld src/helloWorld.o -o helloWorld
./helloWorld
Salut