<?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>topic Re: Compiler generate wrong code when making index programming S08QD4. in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731403#M14322</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Per,&lt;/P&gt;&lt;P&gt;I tested your QD4.zip with &amp;nbsp;ucDummy = (25 - (ulTemp / 33)); But I didn't get wrong result for ucDummy.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/22296i29FBD8A9AB13C889/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this affect ucDummy result on your side?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2018 05:13:14 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2018-05-23T05:13:14Z</dc:date>
    <item>
      <title>Compiler generate wrong code when making index programming S08QD4.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731386#M14305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Compiler does not clear H register so returned result is unpredictable.&lt;/P&gt;&lt;P&gt;Solution to clear H register before using index programing.&lt;/P&gt;&lt;P&gt;Eksample:&lt;/P&gt;&lt;P&gt;unsigned char A;&lt;/P&gt;&lt;P&gt;unsigned char B;&lt;/P&gt;&lt;P&gt;#define LOOKUP = 0xF000&lt;/P&gt;&lt;P&gt;A = LOOKUP[B];&lt;/P&gt;&lt;P&gt;Assembler code.&lt;/P&gt;&lt;P&gt;LDX&amp;nbsp;&amp;nbsp; B;&lt;/P&gt;&lt;P&gt;LDA&amp;nbsp;&amp;nbsp; 0xF000,X&lt;/P&gt;&lt;P&gt;STA&amp;nbsp;&amp;nbsp; A;&lt;/P&gt;&lt;P&gt;Makes an unpredictable result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution.&lt;/P&gt;&lt;P&gt;asm CLRH;&lt;/P&gt;&lt;P&gt;A = LOOKUP[B];&lt;/P&gt;&lt;P&gt;Assembler code.&lt;/P&gt;&lt;P&gt;LDX&amp;nbsp;&amp;nbsp; B;&lt;/P&gt;&lt;P&gt;CLRH;&lt;/P&gt;&lt;P&gt;LDA&amp;nbsp;&amp;nbsp; 0xF000,X&lt;/P&gt;&lt;P&gt;STA&amp;nbsp;&amp;nbsp; A;&lt;/P&gt;&lt;P&gt;Makes right result.&lt;/P&gt;&lt;P&gt;Took a little while to figure that one out because no compiler error was reported.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2018 16:01:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731386#M14305</guid>
      <dc:creator>perhojfeldt</dc:creator>
      <dc:date>2018-05-07T16:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler generate wrong code when making index programming S08QD4.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731387#M14306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Per,&lt;/P&gt;&lt;P&gt;Thank you for contacting us.&lt;/P&gt;&lt;P&gt;To avoid misunderstanding, can you please send us more information:&lt;/P&gt;&lt;P&gt;1. your CW version.&lt;/P&gt;&lt;P&gt;2. demo project&lt;/P&gt;&lt;P&gt;Thanks for your cooperation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 06:27:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731387#M14306</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2018-05-08T06:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler generate wrong code when making index programming S08QD4.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731388#M14307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jennie,&lt;/P&gt;&lt;P&gt;The Codewarrior version is 11.0.&lt;/P&gt;&lt;P&gt;I attached the project which is a part of a Lithium-ion project to equalize&lt;/P&gt;&lt;P&gt;battery cells to even level for space/aircraft use.&lt;/P&gt;&lt;P&gt;The problem occurred in the file atd.c in the procedure ReadTemperature();&lt;/P&gt;&lt;P&gt;See attached project. Simple fix with one line of assembler code but&lt;/P&gt;&lt;P&gt;compiler should have done that using the Indexed, 16-Bit Offset (IX2)&lt;/P&gt;&lt;P&gt;format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Per Højfeldt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 06:50:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731388#M14307</guid>
      <dc:creator>perhojfeldt</dc:creator>
      <dc:date>2018-05-08T06:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler generate wrong code when making index programming S08QD4.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731389#M14308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Per,&lt;/P&gt;&lt;P&gt;I see you attach some C files but not demo project?&lt;/P&gt;&lt;P&gt;Can you please create a demo project thus I can debug it directly ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 07:12:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731389#M14308</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2018-05-08T07:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler generate wrong code when making index programming S08QD4.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731390#M14309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can only attach files and not the whole project folder. Its quit big for&lt;/P&gt;&lt;P&gt;a little processor.&lt;/P&gt;&lt;P&gt;How can I attach the project folder with all the files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Per Højfeldt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 08:00:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731390#M14309</guid>
      <dc:creator>perhojfeldt</dc:creator>
      <dc:date>2018-05-08T08:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler generate wrong code when making index programming S08QD4.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731391#M14310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jenny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a zip file with the whole project so if you unzip the attached&lt;/P&gt;&lt;P&gt;file to your computer you should be able to recompile and take a look at&lt;/P&gt;&lt;P&gt;the atd.c and atd.lst file to see the problem.&lt;/P&gt;&lt;P&gt;If you comment out the line asm CLRH; in the atd.c file and recompile you&lt;/P&gt;&lt;P&gt;can see that the CLRH disappear in the resulting assempler code for cT_Corr&lt;/P&gt;&lt;P&gt;= caTempCorr[ucDummy]; and will create an unknown result.&lt;/P&gt;&lt;P&gt;Tried also instead of asm CLRH; to asm LDHX #0; and CLRH return in the&lt;/P&gt;&lt;P&gt;code. Check it out. Must be some strange compiler error but at least there&lt;/P&gt;&lt;P&gt;is a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards and good luck&lt;/P&gt;&lt;P&gt;Per Højfeldt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 15:40:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731391#M14310</guid>
      <dc:creator>perhojfeldt</dc:creator>
      <dc:date>2018-05-08T15:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler generate wrong code when making index programming S08QD4.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731392#M14311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;P.S&lt;/P&gt;&lt;P&gt;Forgot to say that the unzipped files should be placed in path C:\Battery&lt;/P&gt;&lt;P&gt;Manager\unzipped project for the linker and compiler to look at right path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Per&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 15:52:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731392#M14311</guid>
      <dc:creator>perhojfeldt</dc:creator>
      <dc:date>2018-05-08T15:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler generate wrong code when making index programming S08QD4.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731393#M14312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I tried to make a simple demo code on my side. but can't reproduce the issue. I wonder the problem is not on index.&lt;/P&gt;&lt;P&gt;Can you please check my code?&amp;nbsp; I wonder how to modify my demo code to reproduce your problem.&lt;/P&gt;&lt;P&gt;I did the demo because I want to narrow down the problem to the right point.&lt;/P&gt;&lt;P&gt;Jennie Zhang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2018 09:48:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731393#M14312</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2018-05-10T09:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler generate wrong code when making index programming S08QD4.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731394#M14313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennie&lt;/P&gt;&lt;P&gt;I created a small demo program to recreate the error. Was tough to create&lt;/P&gt;&lt;P&gt;the error in cValue = caValues[ucPtr]; but after a while I found out it's a&lt;/P&gt;&lt;P&gt;macro that remove the CLRH in the assembler code.&lt;/P&gt;&lt;P&gt;I attached the demo project as a zip file and it have to be installed in&lt;/P&gt;&lt;P&gt;C:\Battery manager or you can just add the main.c, corrtable.c, corrtable.h&lt;/P&gt;&lt;P&gt;and the linker file Project.prm to you own project.&lt;/P&gt;&lt;P&gt;By comment out the macro the compiler generate correct code but with the&lt;/P&gt;&lt;P&gt;macro the compiler generate wrong code. Check it in the list file main.lst.&lt;/P&gt;&lt;P&gt;Can be fixed by adding asm CLRH; before cValue = caValues[ucPtr];.&lt;/P&gt;&lt;P&gt;Real weird.&lt;/P&gt;&lt;P&gt;Good luck and best regards&lt;/P&gt;&lt;P&gt;Per Højfeldt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Thu, May 10, 2018 at 11:49 AM, ZhangJennie &amp;lt;admin@community.nxp.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2018 14:11:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731394#M14313</guid>
      <dc:creator>perhojfeldt</dc:creator>
      <dc:date>2018-05-10T14:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler generate wrong code when making index programming S08QD4.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731395#M14314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennie&lt;/P&gt;&lt;P&gt;After a couple of beers I found the problem. In the first macro in the file&lt;/P&gt;&lt;P&gt;corrtable.h CELL_TEMP_VOLT return a long. Seem to give problems in second&lt;/P&gt;&lt;P&gt;macro CELL_TEMPERATURE. By casting CELL_TEMP_VOLT to an int everything is&lt;/P&gt;&lt;P&gt;fine and CLRH return in assembler code.&lt;/P&gt;&lt;P&gt;Welcome to the wonderful world of C programming.&lt;/P&gt;&lt;P&gt;Thanks for looking into this strange problem.&lt;/P&gt;&lt;P&gt;I attached the solution.&lt;/P&gt;&lt;P&gt;Beast regards&lt;/P&gt;&lt;P&gt;Per Højfeldt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2018 14:23:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731395#M14314</guid>
      <dc:creator>perhojfeldt</dc:creator>
      <dc:date>2018-05-10T14:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler generate wrong code when making index programming S08QD4.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731396#M14315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennie&lt;/P&gt;&lt;P&gt;Good morning or what time it is where You are. I'm in Denmark.&lt;/P&gt;&lt;P&gt;Anyhow. I created the error in the project you send me. You can see the&lt;/P&gt;&lt;P&gt;problem in the main.lst if you compile with the different definitions of&lt;/P&gt;&lt;P&gt;CELL_TEMPERATURE. Just set your project up to generate list files in build&lt;/P&gt;&lt;P&gt;setup and right click Output. Add %n.lst in the list output.&lt;/P&gt;&lt;P&gt;Don't know of it's really a compiler error that a subtract of a long from&lt;/P&gt;&lt;P&gt;an int gives the different but wort to know.&lt;/P&gt;&lt;P&gt;Have a great morning.&lt;/P&gt;&lt;P&gt;Per&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 06:01:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731396#M14315</guid>
      <dc:creator>perhojfeldt</dc:creator>
      <dc:date>2018-05-11T06:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler generate wrong code when making index programming S08QD4.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731397#M14316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Per Hojfeldt.&lt;/P&gt;&lt;P&gt;I also wonder the problem may be on data type conversion in MACRO. Because if I don't assign MACRO to uiRawBandgap and uiRawTempValue, there is no error.&lt;/P&gt;&lt;P&gt;Anyway, Good to know the problem got solved. Thanks for the sharing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 06:05:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731397#M14316</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2018-05-11T06:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler generate wrong code when making index programming S08QD4.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731398#M14317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Hi Per Hojfeldt.&lt;/P&gt;&lt;P&gt;I also wonder the problem may be on data type conversion in MACRO. Because if I don't assign MACRO to uiRawBandgap and uiRawTempValue, there is no error.&lt;/P&gt;&lt;P&gt;Anyway, Good to know the problem got solved. Thanks for the sharing.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 06:06:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731398#M14317</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2018-05-11T06:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler generate wrong code when making index programming S08QD4.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731399#M14318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennie&lt;/P&gt;&lt;P&gt;Yes. Just wonder. I will try to use your demo project and make it without&lt;/P&gt;&lt;P&gt;macros and see of it all come down to the calculation of a long with and&lt;/P&gt;&lt;P&gt;int.&lt;/P&gt;&lt;P&gt;Stay tuned.&lt;/P&gt;&lt;P&gt;Enjoy,&lt;/P&gt;&lt;P&gt;Per.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Fri, May 11, 2018 at 8:06 AM, ZhangJennie &amp;lt;admin@community.nxp.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 07:18:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731399#M14318</guid>
      <dc:creator>perhojfeldt</dc:creator>
      <dc:date>2018-05-11T07:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler generate wrong code when making index programming S08QD4.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731400#M14319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennie&lt;/P&gt;&lt;P&gt;Take a look at the main.c and resulting asm list file. Is this a compiler&lt;/P&gt;&lt;P&gt;error?&lt;/P&gt;&lt;P&gt;Let me know&lt;/P&gt;&lt;P&gt;Per&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 08:31:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731400#M14319</guid>
      <dc:creator>perhojfeldt</dc:creator>
      <dc:date>2018-05-11T08:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler generate wrong code when making index programming S08QD4.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731401#M14320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennie&lt;/P&gt;&lt;P&gt;Just a little heads up. I disabled all optimization in the compiler. Made&lt;/P&gt;&lt;P&gt;no different. So it's not the optimizer.&lt;/P&gt;&lt;P&gt;Per&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Fri, May 11, 2018 at 10:30 AM, Per Hojfeldt &amp;lt;perhojfeldt@gmail.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 08:39:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731401#M14320</guid>
      <dc:creator>perhojfeldt</dc:creator>
      <dc:date>2018-05-11T08:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler generate wrong code when making index programming S08QD4.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731402#M14321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I am on trip this week. I will check your issue once I am back.&lt;/P&gt;&lt;P&gt;Jennie.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2018 04:41:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731402#M14321</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2018-05-14T04:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler generate wrong code when making index programming S08QD4.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731403#M14322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Per,&lt;/P&gt;&lt;P&gt;I tested your QD4.zip with &amp;nbsp;ucDummy = (25 - (ulTemp / 33)); But I didn't get wrong result for ucDummy.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/22296i29FBD8A9AB13C889/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this affect ucDummy result on your side?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 05:13:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731403#M14322</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2018-05-23T05:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler generate wrong code when making index programming S08QD4.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731404#M14323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennie,&lt;/P&gt;&lt;P&gt;Been on vacation so haven't looked into it yet. Also got a new desktop so had to set everything up. I will get back to you on your question. Though still look like the problem is there with the missing CLRH in the assembler list file. Anyhow. Can I get the Codewarrior 11.0 in a Linux version for install in Ubuntu because on my new desktop I have dualboot for windows and Ubuntu and would like to do my development under Linux.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Per Højfeldt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2018 09:23:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731404#M14323</guid>
      <dc:creator>perhojfeldt</dc:creator>
      <dc:date>2018-05-31T09:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler generate wrong code when making index programming S08QD4.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731405#M14324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Per,&lt;/P&gt;&lt;P&gt;CodeWarrior for linux supporting was dropped. CW 10.2 for linux is the last version.&lt;/P&gt;&lt;P&gt;CW11 doesn't support linux. the support system:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Microsoft® Windows XP 32-bit and 64-bit&lt;BR /&gt;(Professional Edition),&lt;BR /&gt;Microsoft Windows Vista® 32-bit and 64-bit (Home&lt;BR /&gt;Premium Edition and Business Edition), or&lt;BR /&gt;Microsoft Windows 7 32-bit and 64-bit (Home&lt;BR /&gt;Premium Edition and Professional Edition)&lt;BR /&gt;Microsoft Windows 8 32-bit and 64-bit (Home&lt;BR /&gt;Premium Edition and Professional Edition)&lt;BR /&gt;Microsoft Windows 8.1 32-bit and 64-bit (Home&lt;BR /&gt;Premium Edition and Professional Edition)&lt;BR /&gt;Microsoft Windows 10 32-bit and 64-bit (Home&lt;BR /&gt;Premium Edition and Professional Edition)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I suggest you use CW11+windows platform instead. if any code issue with CW11 on windows, let's discuss.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 09:54:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Compiler-generate-wrong-code-when-making-index-programming/m-p/731405#M14324</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2018-06-05T09:54:16Z</dc:date>
    </item>
  </channel>
</rss>

