<?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: 10.2 using JMP instruction with IX1/2 addressing mode in Relocatable Assembly in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/10-2-using-JMP-instruction-with-IX1-2-addressing-mode-in/m-p/158040#M4199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume that&amp;nbsp;you are using separate .asm file(s) for your assembly code,&amp;nbsp;and not&amp;nbsp;inline assembly within a .c file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the offset label is defined within a .c file, this will need to be imported to the .asm file using XREF.&amp;nbsp; It would be helpful if you would attach a code snippet to&amp;nbsp;demonstrate your problem.&amp;nbsp; You&amp;nbsp;should also mention which errors are reported by the compiler.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Apr 2012 20:42:48 GMT</pubDate>
    <dc:creator>bigmac</dc:creator>
    <dc:date>2012-04-27T20:42:48Z</dc:date>
    <item>
      <title>10.2 using JMP instruction with IX1/2 addressing mode in Relocatable Assembly</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/10-2-using-JMP-instruction-with-IX1-2-addressing-mode-in/m-p/158039#M4198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attempting to JMP to another labeled point, plus an offset, within the same block of relocatable assembly code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using codewarrior 10.2 with C and relocatable assembly support on the project. &amp;nbsp;Wondering if there is a complier option that will allow me to use this instruction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2012 00:51:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/10-2-using-JMP-instruction-with-IX1-2-addressing-mode-in/m-p/158039#M4198</guid>
      <dc:creator>MatthewScott_DE</dc:creator>
      <dc:date>2012-04-27T00:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: 10.2 using JMP instruction with IX1/2 addressing mode in Relocatable Assembly</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/10-2-using-JMP-instruction-with-IX1-2-addressing-mode-in/m-p/158040#M4199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume that&amp;nbsp;you are using separate .asm file(s) for your assembly code,&amp;nbsp;and not&amp;nbsp;inline assembly within a .c file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the offset label is defined within a .c file, this will need to be imported to the .asm file using XREF.&amp;nbsp; It would be helpful if you would attach a code snippet to&amp;nbsp;demonstrate your problem.&amp;nbsp; You&amp;nbsp;should also mention which errors are reported by the compiler.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2012 20:42:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/10-2-using-JMP-instruction-with-IX1-2-addressing-mode-in/m-p/158040#M4199</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2012-04-27T20:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: 10.2 using JMP instruction with IX1/2 addressing mode in Relocatable Assembly</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/10-2-using-JMP-instruction-with-IX1-2-addressing-mode-in/m-p/158041#M4200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This was assembly written within a .c file using the #asm/endasm directives.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EX:&lt;/P&gt;&lt;PRE&gt;#asm ... LDHX INDEX JMP BITD,XBITD PULA SUB #V2 BLE MTCH BRA NTCH PULA SUB #V2 BLE MTCH BRA NTCH ...#endasm&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have since changed to a different meathod that doesn't involve any indexed jumping. &amp;nbsp;I am now using the index to directly select the SUB value from a part of the direct page memory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:02:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/10-2-using-JMP-instruction-with-IX1-2-addressing-mode-in/m-p/158041#M4200</guid>
      <dc:creator>MatthewScott_DE</dc:creator>
      <dc:date>2020-10-29T09:02:59Z</dc:date>
    </item>
  </channel>
</rss>

