Skip to content

0x59R11/calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple MS-DOS calculator

Features:

  • Unsigned integer 16 bits numbers (uint16)
  • Choice of input/result number format
  • Input number can be negative (start with '-')
  • Negative result can be shown with '-'
  • Available 4 number systems (dec, hex, oct, bin)
  • Shows: sum, difference, multiplication, division, remainder of division

Installation

  1. Install & setup requires tools
  2. Build .OBJ files
  3. Link .OBJ files
  4. Run CALC.EXE

Tools:

  • MASM611
  • ML.EXE (masm translator)
  • LINK.EXE (linker .OBJ files)

Building:

Need to build 3 .asm files

1. Manually

ML.EXE /c calc\calc.asm
ML.EXE /c string\string.asm
ML.EXE /c convr\convr.asm

2. Using .bat file

BUILD.bat

Linking:

Need to link 3 .OBJ files

1. Manually

LINK.EXE calc.obj string.obj convr.obj

2. Using .bat file

BLINK.bat

If you have any questions, please leave them HERE

About

Simple MS-DOS calculator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published