<?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>8-bit Microcontrollers中的主题 Re: C struct on hcs08</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173432#M11845</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think they are available on the web site, but since you have the installation, they are available in the CW folder (e.g.&amp;nbsp;C:\Program Files\Freescale\CodeWarrior for Microcontrollers V6.3\Release_Notes\HC08\Notes_HC08_Compiler.txt).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Jan 2011 16:20:38 GMT</pubDate>
    <dc:creator>NavidadRedivivu</dc:creator>
    <dc:date>2011-01-05T16:20:38Z</dc:date>
    <item>
      <title>C struct on hcs08</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173423#M11836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have built this struct:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;struct&amp;nbsp; pointers {&lt;/P&gt;&lt;P&gt;uint8_t * p1;&lt;/P&gt;&lt;P&gt;uint8_t * p2;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;struct pnt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then I have initialize it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pnt.p1 = &amp;amp;array[0];&lt;/P&gt;&lt;P&gt;pnt.p2 = &amp;amp;array[15];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I calculate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;uint16_t tmp = (pnt.p2 - pnt.p1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the result is 2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but if I calculate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;uint8_t * a = pnt.p1;&lt;/P&gt;&lt;P&gt;uint8_t * b = pnt.p2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;uint 16_t tmp = b -&amp;nbsp; a;&lt;/P&gt;&lt;P&gt;the result is 15 as I expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, why in the first case I obtain the difference between the address of the elements of the struct (2) and not the difference of the address pointed by p2 and p1 (15)? why I cannot use pnt.p2/pnt.p1 as two usual pointer variable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 05:46:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173423#M11836</guid>
      <dc:creator>roberto_m</dc:creator>
      <dc:date>2011-01-04T05:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: C struct on hcs08</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173424#M11837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I shortly tried to reproduce it, but it works for me. I get 15 for both cases. Can you provide a compilable project which shows the issue?&lt;/P&gt;&lt;P&gt;Also which version of the tools did you use? Which compiler options? I used MCU10, default options.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;typedef unsigned char uint8_t;typedef unsigned int uint16_t;struct  pointers { uint8_t * p1; uint8_t * p2;};uint8_t array[15];struct pointers pnt;static uint16_t tmp1;static uint16_t tmp2;void main() { pnt.p1 = &amp;amp;array[0]; pnt.p2 = &amp;amp;array[15]; tmp1 = (pnt.p2 - pnt.p1); {  uint8_t * a = pnt.p1;  uint8_t * b = pnt.p2;  tmp2 = b -  a; } for (;;) {}}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:21:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173424#M11837</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2020-10-29T09:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: C struct on hcs08</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173425#M11838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Surely just a typo, but the array size needs to be 16 bytes or the pointers aren't pointing to the same array. And pointer arithmetic on pointers pointing at unrelated memory is undefined behavior.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 15:28:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173425#M11838</guid>
      <dc:creator>Lundin</dc:creator>
      <dc:date>2011-01-04T15:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: C struct on hcs08</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173426#M11839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lundin, yes it is a typo (in my case it is bigger). I'm using CodeWarrior Ide&amp;nbsp; 5.9.0 Build 2830. Default options. I have also tried to disable optimizations, but it doesn't change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have built a new project (attached file). The result is the same: tmp1 = 2; tmp2 = 15&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;p.s. if I dissasemble it i find&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ANSI-C/cC++ Compiler for HC08 V-5.0.26 Build 8120, Apr 30 2008&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 23:&amp;nbsp; &amp;nbsp;tmp1 = (pnt.p2 - pnt.p1);&lt;BR /&gt;&amp;nbsp; 000e a602&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [2]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LDA&amp;nbsp;&amp;nbsp; #2&lt;BR /&gt;&amp;nbsp; 0010 c70000&amp;nbsp;&amp;nbsp; [4]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STA&amp;nbsp;&amp;nbsp; tmp1&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 15:54:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173426#M11839</guid>
      <dc:creator>roberto_m</dc:creator>
      <dc:date>2011-01-04T15:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: C struct on hcs08</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173427#M11840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Roberto,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did attempt to run your test project on CW 6.3, and obtained the results (tmp1 = 15; tmp2 = 15; ), as was expected.&amp;nbsp; Again, the default options were being used.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There were a couple of C2705: "Possible loss of data" warnings that occurred.&amp;nbsp; The warnings&amp;nbsp;could be&amp;nbsp;eliminated by casting the result of each pointer subtraction, which did not affect the results obtained.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;FONT face="courier new,courier"&gt;tmp1 = (uint16_t)(pnt.p2 - pnt.p1);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="Arial"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="Arial"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="Arial"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="Arial"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="Arial"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="Arial"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="Arial"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="Arial"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="Arial"&gt;.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="Arial"&gt;Since tmp1&amp;nbsp;is an unsigned variable, there would be a definite problem if (pnt.p1 &amp;gt; pnt.p2) were to ever occur.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="Arial"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="Arial"&gt;Regards,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="Arial"&gt;Mac&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="Arial"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 18:50:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173427#M11840</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2011-01-04T18:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: C struct on hcs08</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173428#M11841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The C standard defines that the result of a pointer substraction is of the specific type ptrdiff_t. This is required by be a signed integer, and its size is implementation-defined. On CW for HC08 it will be sint16_t.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The possible loss of data warning appears to be completely bugged and illogical in CW, as discussed recently in this post:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/message/74828#74828" title="https://community.freescale.com/message/74828#74828"&gt;https://community.freescale.com/message/74828#74828&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding receiving the wrong value, please note that the compiler is free to do any optimizations as the variables tmp1 and tmp2 aren't used by the program. To guarantee a correct result for this particular code, you must declare them as volatile.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 20:06:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173428#M11841</guid>
      <dc:creator>Lundin</dc:creator>
      <dc:date>2011-01-04T20:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: C struct on hcs08</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173429#M11842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Big Mac! Thank You! I know the issues about warnings, but it is only a test.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;@ Lundin I still get 2 and 15 also if I declare tmp1, tmp2 as volatile. In my original code, however, the variable tmp1 it is used by the program. And I get the result 2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Should&amp;nbsp;I&amp;nbsp;install a new version of cw?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Flashback:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/message/55807#55807" title="https://community.freescale.com/message/55807#55807"&gt;https://community.freescale.com/message/55807#55807&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 21:17:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173429#M11842</guid>
      <dc:creator>roberto_m</dc:creator>
      <dc:date>2011-01-04T21:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: C struct on hcs08</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173430#M11843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Updating will probably solve the problem. It must be a bug fix since the release of your compiler version. For some reason I see nothing really related in the release notes (maybe I didn't look careful enough). Maybe you should open a service request anyway. The release notes should have mentioned the fix.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 22:24:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173430#M11843</guid>
      <dc:creator>NavidadRedivivu</dc:creator>
      <dc:date>2011-01-04T22:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: C struct on hcs08</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173431#M11844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I managed to reproduced the described bug in CWHCS08 6.0.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Loading the very same project, with same compiler options, into CWHCS08 6.3 gives the correct result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And wow, this is actually a pretty serious compiler bug... I'm going to read the 6.3 release notes in detail now. Anyone know where to find them on Freescale's messy site?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 22:58:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173431#M11844</guid>
      <dc:creator>Lundin</dc:creator>
      <dc:date>2011-01-04T22:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: C struct on hcs08</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173432#M11845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think they are available on the web site, but since you have the installation, they are available in the CW folder (e.g.&amp;nbsp;C:\Program Files\Freescale\CodeWarrior for Microcontrollers V6.3\Release_Notes\HC08\Notes_HC08_Compiler.txt).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 16:20:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173432#M11845</guid>
      <dc:creator>NavidadRedivivu</dc:creator>
      <dc:date>2011-01-05T16:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: C struct on hcs08</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173433#M11846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah that file I found, but it only goes up to V5.0.32. I guess they stopped writing documentation from there...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 17:43:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173433#M11846</guid>
      <dc:creator>Lundin</dc:creator>
      <dc:date>2011-01-05T17:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: C struct on hcs08</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173434#M11847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cango to this CodeWarrior V6.3 &lt;A href="http://www.freescale.com/webapp/sps/site/overview.jsp?nodeId=01521027260061788213CF8680" rel="nofollow" target="_self"&gt;update page&lt;/A&gt; and click on the "i" button for each download file to get information about the update. I don't think it has the detail you're looking for, but might be worth a look.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 21:29:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173434#M11847</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2011-01-06T21:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: C struct on hcs08</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173435#M11848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I actually made a support request for this mythical list of changes after I posted here. Freescale support has since then been giving me various irrelevant documentation over CWHC08 5.0 and CW for Coldfire. Whether it is the support lacking knowledge about CW, or whether it simply is the CW team that doesn't document any changes made to the product, I don't know. It seems impossible to find any documentation anyhow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 15:42:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173435#M11848</guid>
      <dc:creator>Lundin</dc:creator>
      <dc:date>2011-01-12T15:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: C struct on hcs08</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173436#M11849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Updating at 6.3 I have no problem. Now i have update also 6.2 and I try.&lt;/P&gt;&lt;P&gt;Here&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/soft_dev_tools/doc/support_info/RN_CWMCUS_6_2_2.txt" rel="nofollow" target="_blank"&gt;http://www.freescale.com/files/soft_dev_tools/doc/support_info/RN_CWMCUS_6_2_2.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;there is the documentation.&lt;/P&gt;&lt;P&gt;I think it is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;MTWX29785:&amp;nbsp;&amp;nbsp;&amp;nbsp; RS08 compiler: the generated code for pointer subtraction may be incorrect when the pointer is a member of a structure.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;But, why rs08 compiler? I think I'm using HC08 ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2011 20:25:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/C-struct-on-hcs08/m-p/173436#M11849</guid>
      <dc:creator>roberto_m</dc:creator>
      <dc:date>2011-01-12T20:25:50Z</dc:date>
    </item>
  </channel>
</rss>

