<?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>Code works in A51, not in Dallas contiguous mode</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/33240/code-works-in-a51-not-in-dallas-contiguous-mode</link><description> I&amp;#39;m trying to port uC/OS for use in a Dallas 5240. It works well when I use the standard linker/assembler but breaks when I switch to the extended versions. 
 
When I assemble, I get five of these: 
 
 OS_CPU_A.ASM(166): error A45: UNDEFINED SYMBOL </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Code works in A51, not in Dallas contiguous mode</title><link>https://community.arm.com/thread/134171?ContentTypeID=1</link><pubDate>Tue, 25 Mar 2003 11:07:22 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:36031ee1-6fea-4fd1-9650-0529911619e7</guid><dc:creator>Jay Miller</dc:creator><description>&lt;p&gt;It was my thinking that some of the memory regions might be invalidated by the switch to the extended assembler/linker.&lt;br /&gt;
&lt;br /&gt;
Or perhaps MOVX instructions work differently?&lt;br /&gt;
&lt;br /&gt;
Could it be that some syntax is changed in the extended versions and isn&amp;#39;t caught at compile time?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Code works in A51, not in Dallas contiguous mode</title><link>https://community.arm.com/thread/121934?ContentTypeID=1</link><pubDate>Tue, 18 Mar 2003 17:45:36 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e320dac5-98df-4fb6-9fc0-2d01bf41e5ac</guid><dc:creator>Jay Miller</dc:creator><description>&lt;p&gt;Versions are as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;C51.exe   v7.03
AX51.exe  v2.05
LX51.exe  v3.53&lt;/pre&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Code works in A51, not in Dallas contiguous mode</title><link>https://community.arm.com/thread/110266?ContentTypeID=1</link><pubDate>Fri, 14 Mar 2003 08:46:47 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:9a543d21-44d9-49b0-ab25-a7b943a333f9</guid><dc:creator>Keil  Support Intl.</dc:creator><description>&lt;p&gt;Which tool versions are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Code works in A51, not in Dallas contiguous mode</title><link>https://community.arm.com/thread/95412?ContentTypeID=1</link><pubDate>Thu, 13 Mar 2003 14:39:51 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:98e7c8af-4cff-4681-b018-3fbd4b6151c0</guid><dc:creator>Jay Miller</dc:creator><description>&lt;p&gt;I&amp;#39;m using the LX51 linker.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Code works in A51, not in Dallas contiguous mode</title><link>https://community.arm.com/thread/55114?ContentTypeID=1</link><pubDate>Wed, 12 Mar 2003 13:41:49 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:5491a9a0-cc33-4bc4-9e47-2ac012f300b2</guid><dc:creator>Jon Ward</dc:creator><description>&lt;p&gt;Are you using the LX51 or BL51 linker?&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Jon&lt;/b&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Code works in A51, not in Dallas contiguous mode</title><link>https://community.arm.com/thread/39939?ContentTypeID=1</link><pubDate>Wed, 12 Mar 2003 12:31:21 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:653c5847-a9b5-4376-ba1a-497171a132e9</guid><dc:creator>Jay Miller</dc:creator><description>&lt;p&gt;That helped a great deal!  But I am still receiving an error, now at link time:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;   *** ERROR L220: INVALID INPUT MODULE
       MODULE:  ..\out\OS_CPU_A.obj (OS_CPU_A_ASM)
   *** Internal Reference: rdval&lt;/pre&gt;
&amp;#39;rdval&amp;#39; appears nowhere in my code.. Could this be a problem with the difference in object file formats mentioned in appendix D?  Without the AX51 enabled, this code links, so I&amp;#39;m not sure where to even start..&lt;br /&gt;
&lt;br /&gt;
For giggles, I put the entire .asm file on the web.  It&amp;#39;s available at &lt;a href="http://www.cryptofreak.org/temp/os_cpu_a.asm" target="_blank"&gt;http://www.cryptofreak.org/temp/os_cpu_a.asm&lt;/a&gt; if it helps any.&lt;br /&gt;
&lt;br /&gt;
Thanks a bunch for the help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Code works in A51, not in Dallas contiguous mode</title><link>https://community.arm.com/thread/39928?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2003 23:43:51 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e6e979d5-5a39-4f5f-ad69-acc897f7af3d</guid><dc:creator>Keil  Support Intl.</dc:creator><description>&lt;p&gt;You need to add definitions for the sfr registers (typically an SFR definition file).&lt;br /&gt;
The AX51 does not longer pre-define any SFR&amp;#39;s.  For details see the Assembler/Utilities User&amp;#39;s Guide, Appendix D.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>