<?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>error A10:ATTEMPT TO DEFINE AN ALREADY DEFINED SYSMBOL</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/16646/error-a10-attempt-to-define-an-already-defined-sysmbol</link><description> Hi All, 
 I have the following code for a AT89s8252. 
When I compile it it gives more than 10 errors... 
 
 
 #include &amp;lt;REG52.h&amp;gt;

	org 0000h
	mov a,#0ffh
	end
 </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: error A10:ATTEMPT TO DEFINE AN ALREADY DEFINED SYSMBOL</title><link>https://community.arm.com/thread/110487?ContentTypeID=1</link><pubDate>Fri, 29 Aug 2003 03:09:17 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:725cf16f-734d-453a-ac9f-e03cba4ef658</guid><dc:creator>Raj  Shetgar</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;
The the to overcome this problem is to using the following&lt;br /&gt;
&lt;pre&gt;
$NOMOD51
#include &amp;lt;AT898252.H&amp;gt;
.
.
.
END
&lt;/pre&gt;
&lt;br /&gt;
its explained in --&amp;gt; page 23 of A51.pdf&lt;br /&gt;
&lt;br /&gt;
Rgds&lt;br /&gt;
Raj Shetgar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error A10:ATTEMPT TO DEFINE AN ALREADY DEFINED SYSMBOL</title><link>https://community.arm.com/thread/95709?ContentTypeID=1</link><pubDate>Fri, 22 Aug 2003 23:43:13 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b19b521d-923e-4b1d-8315-87b8b30c0a1f</guid><dc:creator>Raj  Shetgar</dc:creator><description>&lt;p&gt;Thanx...&lt;br /&gt;
Problem Solved.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error A10:ATTEMPT TO DEFINE AN ALREADY DEFINED SYSMBOL</title><link>https://community.arm.com/thread/71770?ContentTypeID=1</link><pubDate>Fri, 22 Aug 2003 07:47:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:9a0f2ffd-197c-4cb7-8493-ee588d493dd6</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;You compile &amp;#39;C&amp;#39; source with a compiler;&lt;br /&gt;
You assemble assembly source with an assembler.&lt;br /&gt;
&lt;br /&gt;
Anyway, the assembler probably already has built-in definitions for standard SRFs &amp;amp; registers - hence the &amp;quot;already deefined&amp;quot; errors with the include file.&lt;br /&gt;
&lt;br /&gt;
You must either disable the built-in definitions (see the &lt;b&gt;Manual&lt;/b&gt;), or remove the include file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error A10:ATTEMPT TO DEFINE AN ALREADY DEFINED SYSMBOL</title><link>https://community.arm.com/thread/71775?ContentTypeID=1</link><pubDate>Fri, 22 Aug 2003 07:43:56 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:11c2e4b9-9464-4d8a-b35a-49a502a5a36c</guid><dc:creator>Raj  Shetgar</dc:creator><description>&lt;p&gt;What should I do if I need to include files in asm&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: error A10:ATTEMPT TO DEFINE AN ALREADY DEFINED SYSMBOL</title><link>https://community.arm.com/thread/40773?ContentTypeID=1</link><pubDate>Fri, 22 Aug 2003 07:39:39 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:1038449b-af00-48a6-8047-72e3e0560891</guid><dc:creator>John Donaldson</dc:creator><description>&lt;p&gt;&amp;quot;When I compile it it gives more than 10 errors...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
I&amp;#39;m not surprised - it isn&amp;#39;t &amp;#39;C&amp;#39;.&lt;br /&gt;
&lt;br /&gt;
Stefan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>