a basic calculator project built with turbo assembler (tasm) for our computer architecture lab.
it supports arithmetic and logic operations in binary, decimal, and hexadecimal bases. after each operation, flag values are displayed.
- select base (binary, decimal, hexadecimal)
- perform operations: add, sub, mul, div, and, or
- display flags: zf, cf, sf, of
- simple text ui
( update: the hexadecimal operations and flags output need to be fixed xD )
this project was developed and tested using DOSBox and TASM
TASM GitHub Repo (CS-TASM-x86)
mount c path\to\your\project
c:cd binprogram.execd ..
tasm program.asm
tlink program.obj
cd bin
program.exegroup project — computer architecture lab
USTHB 2025