• Stars
    star
    582
  • Rank 76,801 (Top 2 %)
  • Language
    Assembly
  • License
    BSD 2-Clause "Sim...
  • Created over 8 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Arithmetic calculator in x86 assembly

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]

More Repositories

1

vas-quod

🚑 Minimal linux container runtime
Rust
441
star
2

wiser

🐎 Extremely minimal vmm for linux written in C. Hopefully someday will spin linux-vm for you.
C
259
star
3

minAjax.js

A minimalist Javascript library to perform AJAX POST and GET Request.
JavaScript
154
star
4

blinkTitle.js

Is a Pure Javascript Implementation of TitleBar Alert or Notification.It Can Perform Blinking of Html Titlebar When Required.
JavaScript
114
star
5

uglipop.js

A Lightweight Non-fancy Modal/Lightbox
JavaScript
91
star
6

scrollpup.js

Minimal beautiful bar to show scroll progress. Pure Javascript Plugin.MIT
JavaScript
86
star
7

envelop.c

🌊 Thread-less, event-loop based tiny http-server from scratch using epoll. Learning Purpose.
C
82
star
8

Gradbar

Gradient Actionbar for your Android-app
Java
71
star
9

minBlock.js

Is a Pure Javascript Canvas Implementation of Matrix Grid ( Primary Application was to Generate Github Like Random Avatar using minBlock.js or Pixel Pattern)
HTML
69
star
10

aku

Aku - Tiny Backtesting/Trading Engine
C++
37
star
11

buha.js

Browser based Strictly ordered Task Queue for Sync/Async Javascript Functions
JavaScript
30
star
12

ztick

tiny desktop utility to keep notes ( with no features ). Written in zig and gtk4
Zig
29
star
13

logr.h

A micro library to create/view logs for your next POSIX thing.
C
13
star
14

commitchart-flutter

Implementation of Github Commit Chart in Flutter. [MIT License]
Dart
12
star
15

oci_lib

oci-image and oci-runtime spec in rust. Un-official mirror of libocispec.
Rust
12
star
16

murmur3-map

Go Fast Object Map based on Murmur3 HashFunction
Go
12
star
17

timenil

Pure CSS responsive timeline mockup. MIT License.
HTML
9
star
18

PerceptRon

🌱 NeuralNetwork01: Lib for Single Perceptron
C++
7
star
19

StickFace

An Awesome DeskTop Sticky Widget which Follows you Everywhere .Written in C language.Built With Gtk For Gnome and Unity Environment.Well Tested Under Ubuntu
C
3
star
20

Echojs.com-API-minimal

A minimal API like Python Wrapper for http://Echojs.com
Python
3
star
21

orc

A micro MVC Framework
PHP
3
star
22

isVideo.js

Javascript to detect if browser supports HTML5 video mp4,ogg,webm playback or not
JavaScript
3
star
23

tessellated-intelligence-system

Segments for TIS-100
Assembly
2
star
24

Pure-JS-Canvas-Image-Crop

This is Implimentation of Image Crop Under HTML5 Canvas. Plugin Has Been Implemented In Pure Javascript , No Dependency Required
JavaScript
2
star
25

dir_tree

A micro python plugin to print directory tree
Python
1
star
26

StickFace2

A Minimalist Sticky Widget THat Follows Your Around Your Work Screen. Built For Gnome & Unity Environment.Built in Python,well tested in Ubuntu
Python
1
star
27

nets

fixed layer neural network
C++
1
star
28

ubuntupaste

a micro plugin written in C to enable cli-interface for pastebin.ubuntu.com
C
1
star