<?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 CW11 output declaration syntax error when compile asm code in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW11-output-declaration-syntax-error-when-compile-asm-code/m-p/1601946#M15841</link>
    <description>&lt;P&gt;I used MC56F84786&amp;nbsp; and want to include eeprom drivers but&amp;nbsp;EepromDrv/EepromDrv.c include a lot of code like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;// clear RDCOLERR, ACCERR, FPVIOL flag&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;move.w #0x70,A1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;move.bp A1,X:(r0)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;when i compile the project ,CW11 IDE output&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;C:/nxp/CW MCU v11.1/MCU/DSP56800x_EABI_Tools/command_line_tools/mwcc56800e|Compiler|Error&lt;BR /&gt;(C:\Users\MSI-NB\workspace\Test_asm\EepromDrv\EepromDrv.c|666|5|1|33694|1)&lt;BR /&gt;= move.w #0x70,A1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;But&lt;FONT color="#000000"&gt; i creat the project&amp;nbsp; mixed c and asm&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Feb 2023 11:46:30 GMT</pubDate>
    <dc:creator>IvyGuo</dc:creator>
    <dc:date>2023-02-20T11:46:30Z</dc:date>
    <item>
      <title>CW11 output declaration syntax error when compile asm code</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW11-output-declaration-syntax-error-when-compile-asm-code/m-p/1601946#M15841</link>
      <description>&lt;P&gt;I used MC56F84786&amp;nbsp; and want to include eeprom drivers but&amp;nbsp;EepromDrv/EepromDrv.c include a lot of code like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;// clear RDCOLERR, ACCERR, FPVIOL flag&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;move.w #0x70,A1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;move.bp A1,X:(r0)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;when i compile the project ,CW11 IDE output&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;C:/nxp/CW MCU v11.1/MCU/DSP56800x_EABI_Tools/command_line_tools/mwcc56800e|Compiler|Error&lt;BR /&gt;(C:\Users\MSI-NB\workspace\Test_asm\EepromDrv\EepromDrv.c|666|5|1|33694|1)&lt;BR /&gt;= move.w #0x70,A1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;But&lt;FONT color="#000000"&gt; i creat the project&amp;nbsp; mixed c and asm&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 11:46:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW11-output-declaration-syntax-error-when-compile-asm-code/m-p/1601946#M15841</guid>
      <dc:creator>IvyGuo</dc:creator>
      <dc:date>2023-02-20T11:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: CW11 output declaration syntax error when compile asm code</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW11-output-declaration-syntax-error-when-compile-asm-code/m-p/1601950#M15842</link>
      <description>&lt;P&gt;Error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IvyGuo_0-1676893715673.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/211566iB4422C5818D79E89/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IvyGuo_0-1676893715673.png" alt="IvyGuo_0-1676893715673.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;creat a project in this way:so the asm code would be compiled&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IvyGuo_1-1676893756293.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/211567i4ED78396496B7ECA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IvyGuo_1-1676893756293.png" alt="IvyGuo_1-1676893756293.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 11:49:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW11-output-declaration-syntax-error-when-compile-asm-code/m-p/1601950#M15842</guid>
      <dc:creator>IvyGuo</dc:creator>
      <dc:date>2023-02-20T11:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: CW11 output declaration syntax error when compile asm code</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW11-output-declaration-syntax-error-when-compile-asm-code/m-p/1605739#M15846</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have tested the following code, I have not problem.&lt;/P&gt;
&lt;P&gt;Pls have a try.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;void asmTest(void)&lt;BR /&gt;{&lt;BR /&gt;asm{&lt;BR /&gt;move.w #0x70,A1&lt;BR /&gt;move.bp A1,X:(r0)&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 03:59:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW11-output-declaration-syntax-error-when-compile-asm-code/m-p/1605739#M15846</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-02-27T03:59:04Z</dc:date>
    </item>
  </channel>
</rss>

