A simple calculator using assembly (nasm), this is just a project to get a hold of assembly
multi-digit calculations via two numbers for the following operators
If u are using linux, u just install nasm and run
./run_asm.shThis script basically runts the standard running procedure (mentioned below) for linux
- Linux:
nasm -f elf64 mycode.asm -o mycode.o # make likeable object
ld mycode.o -o mycode # make likeable object to linux binary(?)
./mycode # execute- Windows (not checked):
nasm -f win64 mycode.asm -o mycode.obj
gcc mycode.obj -o mycode.exe
./mycode.exe- macOS (not checked):
nasm -f macho64 mycode.asm -o mycode.o
gcc mycode.o -o mycode
./mycode