Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arbinzaman/calcease
A basic Calculator made with Microprocessor that works with EMU8086
https://github.com/arbinzaman/calcease
Last synced: about 2 months ago
JSON representation
A basic Calculator made with Microprocessor that works with EMU8086
- Host: GitHub
- URL: https://github.com/arbinzaman/calcease
- Owner: arbinzaman
- Created: 2024-05-18T08:28:05.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-21T19:34:02.000Z (8 months ago)
- Last Synced: 2024-05-22T19:46:01.897Z (8 months ago)
- Language: Assembly
- Size: 110 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Basic Calculator in Assembly for 8086 Microprocessor
This assembly code implements a simple calculator program for the 8086 microprocessor. It prompts the user to input two single-digit numbers and select an arithmetic operation: addition, subtraction, multiplication, or division. Based on the user's choice, the program performs the corresponding calculation and displays the result. The code uses DOS interrupts for input and output operations, handling user inputs as ASCII characters and converting them for arithmetic operations. It includes error handling to manage division by zero. This program demonstrates fundamental concepts of assembly language programming, including data manipulation, conditional jumps, and interrupt handling.# Usage
Compile the assembly code using an 8086 assembler.
Run the compiled program.
Follow the prompts to enter the first and second numbers (0-9).
# Choose an arithmetic operation:
1: Addition
2: Subtraction
3: Multiplication
4: Division
The program will display the result of the chosen operation.
# Example
![Screenshot 2024-05-22 012106](https://github.com/arbinzaman/CalcEase/assets/108592062/fdfd7c7e-fef9-4c98-bc71-ccd35b166181)# Presentation
(https://www.canva.com/design/DAGFj9IfG2o/aeFL05_BDMyzoDGih2cCvg/edit?utm_content=DAGFj9IfG2o&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton)# Report
(https://www.canva.com/design/DAGF4hIcY4Q/Xqz0D29DD7xucNkpbYQFIA/edit?utm_content=DAGF4hIcY4Q&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton)