Skip to content

Latest commit

 

History

History
20 lines (19 loc) · 348 Bytes

README.md

File metadata and controls

20 lines (19 loc) · 348 Bytes

CALC.ASM

A decimal integer calculator that supports basic arithmetic written in 16 bit x86 assembly
Uses MASM/TASM syntax, runs in DOSBox
To compile:

C:\CALC> MASM CALC.ASM 
C:\CALC> LINK CALC.OBJ

Example usage:

C:\CALC> CALC.EXE
ASSEMBLY CALCULATOR (VER 0.01)
> 1 + 1
2

> Q
C:\CALC>

Supports +,-,*, and /