<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>using Atmel 89C51RB2 XRAM for variables</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/36713/using-atmel-89c51rb2-xram-for-variables</link><description> 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:&amp;#39;frequency&amp;#39;: absolute specifier illegal. 
 
What am</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: using Atmel 89C51RB2 XRAM for variables</title><link>https://community.arm.com/thread/73061?ContentTypeID=1</link><pubDate>Mon, 14 Feb 2005 11:03:34 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:68e04352-776e-42a3-a608-e3aff3cf8ed9</guid><dc:creator>Steve Church</dc:creator><description>&lt;p&gt;Thanks.&lt;br /&gt;
&lt;br /&gt;
Found the problem. As you so rightly said I had to set the XDATA area in the Linker Options (I&amp;#39;m using Version 5.5)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: using Atmel 89C51RB2 XRAM for variables</title><link>https://community.arm.com/thread/43584?ContentTypeID=1</link><pubDate>Mon, 14 Feb 2005 10:26:08 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:694b52e0-a709-4384-b1fc-4cc84e1c7844</guid><dc:creator>John Donaldson</dc:creator><description>&lt;p&gt;You need to make the declaration outside of any functions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: using Atmel 89C51RB2 XRAM for variables</title><link>https://community.arm.com/thread/43583?ContentTypeID=1</link><pubDate>Mon, 14 Feb 2005 09:40:41 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:890e58f0-c40d-4100-8e07-5d395ccb5ccb</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;Why are you using _at_?&lt;br /&gt;
&lt;br /&gt;
Just tell the tools you want the variables in XDATA, and let them get on with it!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>