: : : Anybody knows how to write the source code for keypad of a 8051 calculator using assembly language? Please reply as soon as possible.TQ!
: :
: :
: i would also like this if possible.
: thank you.
:
Do you emphesize on assembly code?if no,you can use C compilers from Franklin or Keil and write this code easily.Only scanning your keypad ever 30 or 40 msec,get entries and hold in a variable,then do the operation and show the result on lcd.But if you have to use assembly you have to simulate the floating point numbers and operation and that only makes your code some long.You can use 4 bytes for holding every float number or 6 byte,IEEE has 2 standard for this.