<?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中的主题 Full Chip Simulation - unallocated variable</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Full-Chip-Simulation-unallocated-variable/m-p/171267#M5286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello forum members,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am using Codewarrior 4.6 build 6345 for MC9S12A128 processor. I am using full chip simulation target in the debugger to test my SCI code. I have two functions for sending and receiving character to/from SCI of the device. The receive routine works correctly but for the transmit routine indicates that the variable used to hold the character is not allocated and hence it displays zero '0'. I am transmitting the same character that I receive using receive routine. I am attaching a snap of the debugger showing the unallocation of the variable. What could be the cause for this? Your earliest reply will be highly appreciated.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanking you in advance.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jul 2008 20:29:23 GMT</pubDate>
    <dc:creator>SSK</dc:creator>
    <dc:date>2008-07-08T20:29:23Z</dc:date>
    <item>
      <title>Full Chip Simulation - unallocated variable</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Full-Chip-Simulation-unallocated-variable/m-p/171267#M5286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello forum members,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am using Codewarrior 4.6 build 6345 for MC9S12A128 processor. I am using full chip simulation target in the debugger to test my SCI code. I have two functions for sending and receiving character to/from SCI of the device. The receive routine works correctly but for the transmit routine indicates that the variable used to hold the character is not allocated and hence it displays zero '0'. I am transmitting the same character that I receive using receive routine. I am attaching a snap of the debugger showing the unallocation of the variable. What could be the cause for this? Your earliest reply will be highly appreciated.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanking you in advance.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 20:29:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Full-Chip-Simulation-unallocated-variable/m-p/171267#M5286</guid>
      <dc:creator>SSK</dc:creator>
      <dc:date>2008-07-08T20:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Full Chip Simulation - unallocated variable</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Full-Chip-Simulation-unallocated-variable/m-p/171268#M5287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;The variable isn't allocated any space in memory because it is using a&amp;nbsp;register to store the passed value.&amp;nbsp; It appears that it is using Accumulator B which can be seen in the Register window&amp;nbsp;containing the hex value 71 (ASCII character 'q') in the screen shot shown.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Edit: Fixed spelling&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by allawtterb on &lt;SPAN class="date_text"&gt;2008-07-08&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;08:50 AM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 20:49:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Full-Chip-Simulation-unallocated-variable/m-p/171268#M5287</guid>
      <dc:creator>allawtterb</dc:creator>
      <dc:date>2008-07-08T20:49:11Z</dc:date>
    </item>
  </channel>
</rss>

