A mini calculator made in Assembly. You need to enter 2 integers and you will get the following:
First, you need to install the template maker:
sudo apt install nasm gcc-multilib
);wget http://cs.unk.edu/~miller/templateMake.tar.gz
);tar zxf templateMake.tar.gz
);./templateMake/fix.sh
);projects
(mkdir projects
);projects
directory (cd projects
).Then, you can clone the repository and use the mini calculator:
git clone https://github.com/GetALife/asm-mini-calc
;cd asm-mini-calc
);make
or nasm -f elf assembly.asm -o assembly.o && gcc -m32 -o assembly assembly.o asm_io.o /home/{user}/templateMake/driver.c
;./assembly
.