https://github.com/mubassim-khan/calculator_program---food_ordering_program-asm
2 ASM projects: Calculator Project; Restaurant Food Ordering. Optimized & Efficient codes, with simple syntaxes
https://github.com/mubassim-khan/calculator_program---food_ordering_program-asm
asmx86 assembly-language assembly-language-programming assembly-x86 calculator-app
Last synced: 3 months ago
JSON representation
2 ASM projects: Calculator Project; Restaurant Food Ordering. Optimized & Efficient codes, with simple syntaxes
- Host: GitHub
- URL: https://github.com/mubassim-khan/calculator_program---food_ordering_program-asm
- Owner: Mubassim-Khan
- Created: 2023-04-09T20:27:53.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-07-14T21:32:39.000Z (about 2 years ago)
- Last Synced: 2025-03-05T05:27:19.569Z (7 months ago)
- Topics: asmx86, assembly-language, assembly-language-programming, assembly-x86, calculator-app
- Language: Assembly
- Homepage:
- Size: 26.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
## This Repository contains 2 Assembly Language Project codes, some main points to be noted about the programs are:
- MASM/TASM Assembler & 8086 Architecture is used in these programs.
- Handled Error of relative jump in many possiblities.
- Added Exceptional Handlings at some specifc points.
- Optimized & fixed from crashing, glitches & bugs.# Calculator Program
Some main features integrated into calculator are
- Addition -> Performs Addition 2 digits decimal numebr
- Subtraction
- Multiplication
- Division -> Displays answer in float (upto 2 decimal places)
- Square of Number
- Multiplication Table -> (Upto 10 times)### Concepts of Stack, Addition, Subtraction, Multiplication, Division, Labels, Conditional Jumps, Data Storage, Relative Jumps & Data Manipulation is mainly used in this project.
#### Note: In division, if user enters "0" as a divisor,it displays a custom error & asks for Input again (Exception Handling). In subtraction, if user gives command of subtracting a smaller number from a bigger number, it displays answer in negative (Exception handling) this does not crashes or glitches the program.
# Food Ordering
A menu displays, at the time of running the program, which includes a list of options, commands & food items along with the price of each. With the selection of food items, it displays the previous selected items & their prices in cart. In case of wrong selection, user can still have an option of clearing the cart & go through selection from start.
### Concepts of Stack, Addition, Relative Jumps, Labels & Data Manipulation is mainly used in this project.