University project · Year 2 · Semester 2
8086 Assembly Calculator
A mouse-driven 8086 assembly calculator with decimal, binary, and hexadecimal modes.
DOSBox · 8086
Run the calculator
Click the DOS screen to type, or use the on-screen keys. Try C → 255 → Enter to convert to hex, or G for mouse mode.
Overview
My team built this 8086 assembly calculator for our Microcomputing course from March to May 2024. It combines number-system calculations with a mouse-driven graphical calculator in a DOS environment.
Key features
- Multiple number systems. Open decimal, binary, and hexadecimal calculators from the main menu.
- Base conversion. Convert between decimal and hexadecimal in both directions.
- Graphical input. Use the mouse-driven calculator, clear or delete input, view calculation history, and recall the previous answer.
What I built
I focused on the graphical calculator interface, including mouse interaction, history controls, and previous-answer recall. Mouse coordinates are checked against each button’s bounds using INT 33h, while INT 21h provides DOS services. Input and result state are managed directly in assembly.
Development environment
We developed and debugged the assembly code in emu8086 and ran the finished DOS executable in DOSBox.
Results & findings
The team produced a DOS calculator executable combining multiple number systems with a graphical mode. My contribution added mouse-based interaction, history controls, and previous-answer recall to that interface.
Project journal
Stories, decisions, and discoveries along the way.
No journal entries published yet.