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.
I have declared around 15 variables as,
code constant float var1 = 1.0; code constant float var2 = 3.5; . . . .
when i see my file.m51 the file is showing these variables are located in xdata.
i am using 8031 with external EPROM memory of 64kb and external RAM of 8KB.
i do not know what is happening?
can anybody tell what might be cause for the problem?
Ya i am sorry.
Actually i had declared my variable like this,
code const float var1 = 1.2; code const float var2 = 13.6;
Like that around 15 variables are declared.
After compilation , i can see the xdata , code size but y the compiler doesnt show the const size?
In the .Map file also i see that after declaring the const var, the var where it is stored is showing as xdata not as code.
do i need any setting?