Skip to content

Latest commit

Β 

History

History
101 lines (74 loc) Β· 3.61 KB

File metadata and controls

101 lines (74 loc) Β· 3.61 KB

Assembly Development Toolkit

Android Linux Windows YouTube Reddit

GitHub Β  YouTube Β  My Awesome Lists

πŸ“– Contents

Installation Steps

NASM

For Debian, Ubuntu, Linux Mint
sudo apt-get update && sudo apt-get install -y nasm
For RHEL, Fedora, AlmaLinux
sudo dnf install -y nasm 
For Arch, Manjaro, EndeavourOS
sudo pacman -S nasm

Compile & Rum Assembly Code

For Debian, Ubuntu, Linux Mint
nasm -felf64 helloworld.asm && ld helloworld.o && ./a.out

helloworld.asm Instructions

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

My Awesome Lists

You can access the my awesome lists here

Contributing

Contributions of any kind welcome, just follow the guidelines!

Contributors

Thanks goes to these contributors!

πŸ”Ό Back to top