masm calculator
要寫一個可以直接輸入運算式的計算機包含加減乘除的功能
輸入會參雜二進位、八進位、十進位、十六進位
最後以十進位輸出結果
以下是題目的原文
請大家幫忙,關係到能否畢業
p.s.我是用Irvine2010的函式庫以及Visual Studio 2010撰寫執行的
The program should then let the user input the Mathematic Form for calculations.
The operations of Mathematic Form are able to contain
1) adding
2) subtracting
3) multiplying
4) dividing
The operations of Mathematic Form are able to contain
1) binary,
2) octal,
3) decimal
4) hexadecimal
No bracket is considered, but the operations priorities must be in this program.
The program should then display the results in decimal.
For example: -11b + 22o * 33d / 0ah, 22o * -33d + 0bh / 111b