Assembled using the NASM assembler, x86 64-bit.
A multi-purpose, CLI-based program I made for fun, and to get myself used to coding in the Assembly language.
I cannot guarantee that all the listed functions work as intended whilst you are reading this READM.md
. This project is being worked on bit by bit from time to time, and the commits I made are not necessarily containing 100% fully working code.
Basic calculator. Does the basic 4 arithmetic operations, addition, subtraction, multiplication and division.
Displays the commands, and some basic tips.
Exits the program (the proper way). Another way is via CTRL+C
.
You will need the NASM assembler installed, on your system and PATH.
Run the following command on your terminal:
nasm -f elf64 script.asm
This will output an object file (script.o
)
In order to run the script, you have to do this one last conversion. Run the following command:
ld script.o -o script
You can now run the script. Go to the file location of script
, and run the following:
./script
If you have any feedbacks or suggestions, please contact me (all the links are available on my profile)