https://github.com/arbinzaman/calcease
A basic Calculator made with Microprocessor that works with EMU8086
https://github.com/arbinzaman/calcease
assembly emu8086
Last synced: 10 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 (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-21T19:34:02.000Z (about 2 years ago)
- Last Synced: 2025-03-18T18:21:28.003Z (over 1 year ago)
- Topics: assembly, emu8086
- Language: Assembly
- Homepage:
- Size: 110 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- 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

# 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)