<?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: Runtime object '_ICMP' in Bootloader code?</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Runtime-object-ICMP-in-Bootloader-code/m-p/172414#M11740</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See&amp;nbsp;\lib\hc08c\src\rtshc08.c&amp;nbsp; . It's 16 bits integer compare routine. Try&amp;nbsp;disassembling your code, then find which expression calls _ICMP and modify&amp;nbsp;that expression slightly.&amp;nbsp;On S08 16 bit integer compare is usually done using CPHX instruction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Dec 2010 02:37:03 GMT</pubDate>
    <dc:creator>kef</dc:creator>
    <dc:date>2010-12-28T02:37:03Z</dc:date>
    <item>
      <title>Runtime object '_ICMP' in Bootloader code?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Runtime-object-ICMP-in-Bootloader-code/m-p/172413#M11739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using CodeWarrior 5.9.0 for the MC9S0AC32 micro, I am using the pragmas&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#pragma MESSAGE WARNING C3605 // enable C3605 warning&lt;BR /&gt;&amp;lt;boot loader code here&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#pragma MESSAGE DISABLE C3605 // disable C3605 message&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;to signal if my boot loader code is making object calls outside the pragmas (which won't be there, of course, during boot loading).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sure enough, I get &amp;nbsp;a couple of the following warnings:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Warning: : C3605: Runtime object '_ICMP' used at PC...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 14px;"&gt;Has anyone any idea what _ICMP is and how I might rid myself of it (other that trying other random way of coding the same thing in hopes the call will disappear)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 14px;"&gt;Thanks for any comments!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 14px;"&gt;Doug&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 14px;"&gt;PS: &amp;nbsp;i know! &amp;nbsp;I know! &amp;nbsp;Should have the boot loader in a separate app to avoid exactly this problem, but I'm stuck with this inherited approach. &amp;nbsp;Such is life!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2010 22:48:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Runtime-object-ICMP-in-Bootloader-code/m-p/172413#M11739</guid>
      <dc:creator>dpaul</dc:creator>
      <dc:date>2010-12-27T22:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime object '_ICMP' in Bootloader code?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Runtime-object-ICMP-in-Bootloader-code/m-p/172414#M11740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See&amp;nbsp;\lib\hc08c\src\rtshc08.c&amp;nbsp; . It's 16 bits integer compare routine. Try&amp;nbsp;disassembling your code, then find which expression calls _ICMP and modify&amp;nbsp;that expression slightly.&amp;nbsp;On S08 16 bit integer compare is usually done using CPHX instruction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 02:37:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Runtime-object-ICMP-in-Bootloader-code/m-p/172414#M11740</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2010-12-28T02:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime object '_ICMP' in Bootloader code?</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Runtime-object-ICMP-in-Bootloader-code/m-p/172415#M11741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Optimize for time may help with the integer comparison runtime.&lt;/P&gt;&lt;P&gt;Also try to code the 16 bit comparison with operand as constant or variable. When comparing 2 computed expressions, CPHX cannot be easily used.&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 04:23:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Runtime-object-ICMP-in-Bootloader-code/m-p/172415#M11741</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2010-12-28T04:23:22Z</dc:date>
    </item>
  </channel>
</rss>

