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?

Parents Reply Children
No data
More questions in this forum