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.
Well, we've just had another question about initialising constant data defined with _at http://www.keil.com/forum/docs/thread1162.asp This is a very frequently-asked question, which begs the further question, "why can't symbols defined with _at_ be initialised??" After all, there's obviously a lot of people out there wanting to do it. I gather that the Raisonance compiler does allow this. http://www.8052.com/forum/read.phtml?id=13182&top=
I obviously wasn't clear when I said, "...if you want your constants in CODE!!" What I meant was that your suggestion cannot be used if the initialisations are required in the 8051's CODE memory space - because there is no instruction to write to CODE space! (it's normally ROM)