🇬🇧 English | 🇷🇺 Русский
A simple command-line calculator written in x86-64 Assembly.
- Integer addition
- Integer subtraction
- Integer multiplication
- Integer division
- Division-by-zero handling
- Uses
printfandscanf - System V AMD64 ABI
- NASM syntax
- Linux
- NASM
- GCC
- GNU Make
makeManual build:
nasm -f elf64 -g src/main.asm -o bin/obj/main.o
gcc -no-pie bin/obj/main.o -o bin/out/calculatormake runor
./bin/out/calculator.
├── src/
│ └── main.asm
├── notes/
├── bin/
├── Makefile
├── LICENSE
└── README.md
This is my first project written in x86-64 Assembly. The project was created to practice Assembly programming and the System V AMD64 ABI.
- Calculator on libc (System V ABI) - 🔗 asm-calc-libc
- Calculator on raw syscalls (no libc) - 🔗 asm-calc-syscall
- 16-bit BIOS calculator with custom bootloader - 🔗 asm-calc-bios
MIT

