<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>CodeWarrior for MCUのトピックRe: ASSEMBLY LANGUAGE PROBLEM</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/ASSEMBLY-LANGUAGE-PROBLEM/m-p/147661#M3448</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Dragon Board with HCS12 MC9S12DG256 with&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CodeWarrior development studio for s12(x) version 5.0 build 9061&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so what to do next ...................&amp;nbsp;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by A.Al-Shaybani on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-10-21&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;02:31 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Oct 2009 20:29:17 GMT</pubDate>
    <dc:creator>A_Al_Shaybani</dc:creator>
    <dc:date>2009-10-21T20:29:17Z</dc:date>
    <item>
      <title>ASSEMBLY LANGUAGE PROBLEM</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/ASSEMBLY-LANGUAGE-PROBLEM/m-p/147659#M3446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;CANT RUN THIS !!! error in export symbols ????? can any one check it&amp;nbsp;&lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-sad.gif"&gt;&lt;IMG alt=":smileysad:" class="emoticon emoticon-smileysad" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-sad.gif" title="Smiley Sad" /&gt;&lt;/A&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;; Include derivative-specific definitions&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;INCLUDE 'derivative.inc'&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;; export symbols&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XDEF Entry, _Startup, main&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;; we use export 'Entry' as symbol. This allows us to&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;; reference 'Entry' either in the linker .prm file&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;; or from C/C++ later on&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XREF __SEG_END_SSTACK &amp;nbsp; &amp;nbsp; &amp;nbsp;; symbol defined by the linker for the end of the stack&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;; variable/data section&lt;/DIV&gt;&lt;DIV&gt;MY_EXTENDED_RAM: SECTION&lt;/DIV&gt;&lt;DIV&gt;; Insert here your data definition.&lt;/DIV&gt;&lt;DIV&gt;Counter &amp;nbsp; &amp;nbsp; ds.w 1&lt;/DIV&gt;&lt;DIV&gt;FiboRes &amp;nbsp; &amp;nbsp; ds.w 1&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;; code section&lt;/DIV&gt;&lt;DIV&gt;TAA &amp;nbsp; EQU &amp;nbsp; $800&lt;/DIV&gt;&lt;DIV&gt;TBB &amp;nbsp; EQU &amp;nbsp; $801&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; LDAA &amp;nbsp;#100&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; STAA &amp;nbsp;TAA&lt;/DIV&gt;&lt;DIV&gt;BACK &amp;nbsp; LDAA &amp;nbsp;#10&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; STAA &amp;nbsp;TBB&lt;/DIV&gt;&lt;DIV&gt;HERE &amp;nbsp; DEC &amp;nbsp; TBB&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; BNE &amp;nbsp; HERE&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; DEC &amp;nbsp; TAA&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; BNE &amp;nbsp; BACK&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; RTS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Oct 2009 14:51:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/ASSEMBLY-LANGUAGE-PROBLEM/m-p/147659#M3446</guid>
      <dc:creator>A_Al_Shaybani</dc:creator>
      <dc:date>2009-10-17T14:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: ASSEMBLY LANGUAGE PROBLEM</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/ASSEMBLY-LANGUAGE-PROBLEM/m-p/147660#M3447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;- Which CPU are you targeting (HC08, HC12, Coldfire, ..)&lt;BR /&gt;- Which version of CodeWarrior are you using?&lt;BR /&gt;&amp;nbsp;&amp;nbsp; To retrieve that info:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Start CodeWarrior&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Select Help -&amp;gt; About Freescale CodeWarrior&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Click on "Install Products"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - CodeWarrior version used is displayed on top in the Installed Products dialog.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2009 22:10:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/ASSEMBLY-LANGUAGE-PROBLEM/m-p/147660#M3447</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2009-10-19T22:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: ASSEMBLY LANGUAGE PROBLEM</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/ASSEMBLY-LANGUAGE-PROBLEM/m-p/147661#M3448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Dragon Board with HCS12 MC9S12DG256 with&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CodeWarrior development studio for s12(x) version 5.0 build 9061&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so what to do next ...................&amp;nbsp;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by A.Al-Shaybani on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-10-21&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;02:31 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2009 20:29:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/ASSEMBLY-LANGUAGE-PROBLEM/m-p/147661#M3448</guid>
      <dc:creator>A_Al_Shaybani</dc:creator>
      <dc:date>2009-10-21T20:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: ASSEMBLY LANGUAGE PROBLEM</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/ASSEMBLY-LANGUAGE-PROBLEM/m-p/147662#M3449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are a couple of issues in the snippet you have provided.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In there you have a comment&lt;/P&gt;&lt;P&gt;; code section&lt;/P&gt;&lt;P&gt;This is not enough to define a code section for your application. You need to define a code section as follows:&lt;/P&gt;&lt;P&gt;MY_CODE: SECTION&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next you need to define a label for the beginning of the actual code.&lt;/P&gt;&lt;P&gt;For instance:&lt;/P&gt;&lt;P&gt;main:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LDAA&amp;nbsp; #100&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STAA&amp;nbsp; TAA&lt;/P&gt;&lt;P&gt;Finally you have no labels Entry or _Startup in your code. So you need to remove those symbol names from the XDEF line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once that is done you should be able to assemble the source file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2009 18:59:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/ASSEMBLY-LANGUAGE-PROBLEM/m-p/147662#M3449</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2009-10-22T18:59:05Z</dc:date>
    </item>
  </channel>
</rss>

