We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Is there a C technique for writing/reading from a byte in on-chip EEPROM? I can do this in asm with something like this:
clr ea mov deedat,@r0 mov deeadr,@r1 setb ea
I would prefer to do it in C, and can't find anything that explains it. Thanks.
This explains how Keil C51 accesses the 8051's different memory spaces - including SFRs:
http://www.keil.com/support/man/docs/c51/c51_le_memareas.htm