1
$\begingroup$

When I input something wrong in my Casio fx-82MS calculator it shows Syntax error on its screen.

enter image description here

So does even a simple calculation on a most simple calculator like this goes through compilation phases? or is it directly the hardware that is doing all the stuff and showing the output or is there some kind of very basic software running and undergoing compilation?

$\endgroup$
4
  • $\begingroup$ Your calculator is running software which includes a parser. I don't see any need for a compiler. $\endgroup$ – Yuval Filmus Nov 9 '19 at 18:47
  • $\begingroup$ and we for that software's code to execute we need compilation, right? $\endgroup$ – Turing101 Nov 9 '19 at 18:57
  • $\begingroup$ @HIRAKMONDAL, right. But that just means that whoever designed your calculator compiled its software's code into whatever machine code your calculator processor runs. There is no need to compile your input to the calculator. $\endgroup$ – Steven Nov 9 '19 at 19:11
  • $\begingroup$ ok, got it.. Thanks ... :) $\endgroup$ – Turing101 Nov 9 '19 at 19:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.