This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

_at_ keyword

Hello,

We are using _at_ keyword to locate a variable at particular address. We declared the variable as per the description given in Help for the _at_ keyword.

The declaration of variable we done is as follows:

unsigned char xdata abc _at_ 0X0000;

When we compiled with the above declaration our target was created with 0 errors and 0 warnings.

But we want to locate the above variable at 0X8000. so we declared the variable as follows.

unsigned char xdata abc _at_ 0X8000;

but when we are compiling our program with above declaration we are getting lot of errors.

one of the error we are getting is :

ERROR L107: ADDRESS SPACE OVERFLOW.
SPACE : XDATA

we are having around 60K variables in whole program. but we want only one variable at the above address.

0