Assembly Development Toolkit
For Debian, Ubuntu, Linux Mint
sudo apt-get update && sudo apt-get install -y nasmFor RHEL, Fedora, AlmaLinux
sudo dnf install -y nasm For Arch, Manjaro, EndeavourOS
sudo pacman -S nasmFor Debian, Ubuntu, Linux Mint
nasm -felf64 helloworld.asm && ld helloworld.o && ./a.out| Instruction | Description |
|---|---|
| mov x, y | ( x ← y ) |
| and x, y | ( x ← x ∧ y ) |
| or x, y | ( x ← x ∨ y ) |
| xor x, y | ( x ← x ⊕ y ) |
| add x, y | ( x ← x + y ) |
| sub x, y | ( x ← x - y ) |
| inc x | ( x ← x + 1 ) |
| dec x | ( x ← x - 1 ) |
| syscall | system call |
| db | Define Byte. 8 bits |
You can access the my awesome lists here
Contributions of any kind welcome, just follow the guidelines!
