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

using Atmel 89C51RB2 XRAM for variables

I want to use the extra memory in the XRAM area of the 89C51RB2 for extra variable storage. How is this done? If I write

xdata unsigned int frequency[20] _at_ 0x0100;

I get the error
error 274:'frequency': absolute specifier illegal.

What am I doing wrong?

0