<?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>Classic/Legacy CodeWarriorのトピックProcessor Expert insists on using undefined pragmas</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Processor-Expert-insists-on-using-undefined-pragmas/m-p/172363#M3523</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same project as my last message.&amp;nbsp; Processor Expert generates a "#pragma interrupt alignsp saveall" line, which leads to a Link Error: Undefined: INTERRUPT_SAVEALL" and also "Undefined: INTERRUPT_RESTOREALL" errors.&amp;nbsp; I can't find saveall or restoreall documented, and when I type "#pragma" and then Alt ., saveall and restoreall don't show in the pop up window.&amp;nbsp; Deleting the saveall gets rid of the error, but PE restores it the next time it runs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I either 1) tell CW that saveall and restoreall are legit, or 2) persuade PE to stop adding them every time it runs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2009 01:40:25 GMT</pubDate>
    <dc:creator>GaryOlmstead</dc:creator>
    <dc:date>2009-04-16T01:40:25Z</dc:date>
    <item>
      <title>Processor Expert insists on using undefined pragmas</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Processor-Expert-insists-on-using-undefined-pragmas/m-p/172363#M3523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same project as my last message.&amp;nbsp; Processor Expert generates a "#pragma interrupt alignsp saveall" line, which leads to a Link Error: Undefined: INTERRUPT_SAVEALL" and also "Undefined: INTERRUPT_RESTOREALL" errors.&amp;nbsp; I can't find saveall or restoreall documented, and when I type "#pragma" and then Alt ., saveall and restoreall don't show in the pop up window.&amp;nbsp; Deleting the saveall gets rid of the error, but PE restores it the next time it runs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I either 1) tell CW that saveall and restoreall are legit, or 2) persuade PE to stop adding them every time it runs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 01:40:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Processor-Expert-insists-on-using-undefined-pragmas/m-p/172363#M3523</guid>
      <dc:creator>GaryOlmstead</dc:creator>
      <dc:date>2009-04-16T01:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Processor Expert insists on using undefined pragmas</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Processor-Expert-insists-on-using-undefined-pragmas/m-p/172364#M3524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you're using Processor Expert, your application should contains a Generated Code folder.&lt;/P&gt;&lt;P&gt;All files listed in this folder are re-generated&amp;nbsp; when you re-build the project by Processor Expert.&lt;/P&gt;&lt;P&gt;By default the user mus not change code for all these files.&lt;/P&gt;&lt;P&gt;If you need to adapt the generated code you can freeze Processor Expert with the option Processor Expert ¦ Frezze Generated code.&lt;/P&gt;&lt;P&gt;By this way Processor Expert will freeze the code and you can modify the source files in Generated code Folder.&lt;/P&gt;&lt;P&gt;However if you need to change something in Processor Expert for instance adapt a bean or add another one, all your modification will disappear if your re-generate the Processor Expert Code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now Regarding the problem with Interrupt.&lt;/P&gt;&lt;P&gt;I can not explain why the code generated by Processor Expert introduces linker error.&lt;/P&gt;&lt;P&gt;I suspect a problem with the project configuration.&lt;/P&gt;&lt;P&gt;Can you check your project ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you don't find what is the trouble, we could try on our side.&lt;/P&gt;&lt;P&gt;To do that we need your project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pascal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 19:32:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Processor-Expert-insists-on-using-undefined-pragmas/m-p/172364#M3524</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2009-04-16T19:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Processor Expert insists on using undefined pragmas</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Processor-Expert-insists-on-using-undefined-pragmas/m-p/172365#M3525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pascal --&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Now Regarding the problem with Interrupt.&lt;/P&gt;&lt;P&gt;I can not explain why the code generated by Processor Expert introduces linker error.&lt;/P&gt;&lt;P&gt;I suspect a problem with the project configuration.&lt;/P&gt;&lt;P&gt;Can you check your project ?"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well, yes, but check it for what?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gary&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 21:18:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Processor-Expert-insists-on-using-undefined-pragmas/m-p/172365#M3525</guid>
      <dc:creator>GaryOlmstead</dc:creator>
      <dc:date>2009-04-16T21:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Processor Expert insists on using undefined pragmas</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Processor-Expert-insists-on-using-undefined-pragmas/m-p/172366#M3526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think something must be wrong in your project but I can not provide you more info.&lt;/P&gt;&lt;P&gt;May be it's related to the previous question you posted.&lt;/P&gt;&lt;P&gt;I don't know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pascal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 21:33:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Processor-Expert-insists-on-using-undefined-pragmas/m-p/172366#M3526</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2009-04-16T21:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Processor Expert insists on using undefined pragmas</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Processor-Expert-insists-on-using-undefined-pragmas/m-p/172367#M3527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pascal --&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I stumbled across the answer.&amp;nbsp; There is a file called save_reg.asm that contains two routines.&amp;nbsp; One is INTERRUPT_SAVEALL and the other is INTERRUPT_RESTOREALL.&amp;nbsp; As you've probably guessed, it's out in the middle of nowhere.&amp;nbsp; Specifically: "C:\Program Files\Metrowerks\CW for 56800\M56800E Support\runtime_56800E\save_reg"&amp;nbsp; at least on my computer; yours will be identical after CW for 56800.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help and support.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Gary&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 22:36:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Processor-Expert-insists-on-using-undefined-pragmas/m-p/172367#M3527</guid>
      <dc:creator>GaryOlmstead</dc:creator>
      <dc:date>2009-04-16T22:36:42Z</dc:date>
    </item>
  </channel>
</rss>

