Skip to content

A simple RPN calculator for unlimited-precision unsigned integers, represented in Binary Coded Decimal (BCD).

Notifications You must be signed in to change notification settings

talitz/rpn-unlimited-precision-bcd-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPN-Unlimited-Precision-BCD-Calculator

A simple RPN calculator for unlimited-precision unsigned integers, represented in Binary Coded Decimal (BCD). note: after running "make", dont forget to run the command "chmod u+x calc.s", before you exec calc.bin. The operations to be supported by this calculator are: Quit (q) Addition (unsigned) (+) Pop-and-print (p) Duplicate (d) Bitwise AND (&), on the actual bits The calculator use a a stack, so for example, the calculation of "2 + 2" is done with the commands:

  1. "2"
  2. "2"
  3. "+"
  4. "p"

About

A simple RPN calculator for unlimited-precision unsigned integers, represented in Binary Coded Decimal (BCD).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published