All Projects → flouthoc → Calc.asm

flouthoc / Calc.asm

Licence: bsd-2-clause
Arithmetic calculator in x86 assembly

Programming Languages

assembly
5116 projects

calc.asm

Minimal arithmetic calculator in x86 assembly.

img


This a simple arithmetic calculator written in x86 assembly with minimalistic operation support like `Addition` , `Subtraction` , `Multiplication` and `Division`.I have tried to kept source highly documented by commenting on each line so that beginners can easily understand the source.If you feel that these comments source or anything can be improved create a pull-request now. If you found it useful Star it or follow me on github

Usage

`./calc `

Operations Supported

`"+"` For Addition
`"-"` For Subtraction
`"*"` For Multiplication
`"/"` For Division

Compiling

```bash nasm -f elf64 -o calc.o calc.asm ld -d calc calc.o ``` or
make

Blogs which helped me

http://0xax.blogspot.in/search/label/asm

Fork it

Twitter @flouthoc
Email [email protected]
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].