Skip to content

ayahbash/x86-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tasm calculator !!

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.

features

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

how to run

this project was developed and tested using DOSBox and TASM
TASM GitHub Repo (CS-TASM-x86)

open DOSBox

mount c path\to\your\project
c:

go to the bin folder

cd bin

run the compiled program

program.exe

(optional) if you want to recompile

cd ..
tasm program.asm
tlink program.obj
cd bin
program.exe

credits

group project — computer architecture lab
USTHB 2025

About

simple tasm calculator with base selection and flag display for computer architecture lab

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors