Hi all,
please help me to clear my doubt on this issue. I have a set of data that comes from ADC and this set of data will be used to compare with another set of data to check for any difference. Can i just introduce simple array to compare this two set of data or i have to store this into some memory on the board with given address. I know the earlier can be done in c programming but i am not too sure whether it can be done when using micro controller. Please advise. Thanks. I am using Silicon Lab 8051 micro controller.
"I know the earlier can be done in c programming but i am not too sure whether it can be done when using micro controller."
Yes, you can program microcontrollers - including 8051 types - in 'C'!
Keil's tools for doing this are called, naturally enough, "C51": http://www.keil.com/c51/
The SiLabs IDE also uses Keil's compiler, etc.
The basics of C51 are ANSI standard; there are just a few extensions to take care of the specific details of the target - see: http://www.keil.com/support/man/docs/c51/c51_extensions.htm http://www.keil.com/support/man/docs/c51/c51_xa.htm
Of course, you need to understand the 8051 architecture and the C51 tools in order to be able to write efficient 'C' for an 8051 - some tips here: http://www.keil.com/support/man/docs/c51/c51_xc.htm
See also: www.8052.com/.../read.phtml