Three kinds of simple calculators based on MCS51.
cal.c: Support float number, don't support brackets.
cal2.c: Support brackets, but don't support float number.
cal3.c: Support both brackets and float number. (implemented by a stack plus state machine)
The implementation is based on state machine as following.
xqzlgy2/MCS51-Calculator
Simple calculators based on MCS51 and state machine, supporting float number and brackets.
C