can anyone please give me a simple code of an a86 assembly calculator that can execute +,-,*,/ functions... i really need help... hope anyone there can help me... thanks...
I don't have a code on the fly. You basically do it as follows.
You have a string with the execution (static or via user input). You go through the string to seperate the functions +,-,*,/ from values.
Then you convert each number to binar numbers (a bit longer function, but quite easy, maybe even somewhere on the web) and sort them, so that * and / is calculated at first.
Then you just have a term with + and -. Go through it and output the result.
If you are a bit experienced you shouldn't need more than a week to solve it quite acceptable. Have fun ^^.