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=
Excuse me, I couldn't imagine it was so hard for you to have an initializing block in your code. Probably, a little practice will help. M.
An unusual way of intruducing yourself :-)) That's why I try to think twice before posting messages.
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)