<?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>S12 / MagniV MicrocontrollersのトピックMigrating Assembly Code from HC11 to HC12 (MC9S12A32, specifically)</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Migrating-Assembly-Code-from-HC11-to-HC12-MC9S12A32-specifically/m-p/165694#M5371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking for a starting point for documentation on migrating existing HC11 assembly code (written by a previous employee) to the MC9S12A32.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It was my understanding that there should be complete coverage of HC11-based assembly code by the HC12 assembler, but I'm seeing assembly errors on BSET/BCLR and BRSET/BRCLR instructions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All of my previous experience has been with 8052 processors, so I apologize for starting from scratch here. &amp;nbsp;Like I said, I'm looking for someone to hopefully point out a good starting point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it helps, a few of the instructions that are throwing assembly errors:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BSET &amp;nbsp; 2,Y &amp;nbsp;$04 &amp;nbsp;(illegal addressing mode error)&lt;/P&gt;&lt;P&gt;BRCLR &amp;nbsp;FLAG #$20 DBDELAY (illegal addressing mode error)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Drew&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jan 2010 13:46:38 GMT</pubDate>
    <dc:creator>drewrainwater</dc:creator>
    <dc:date>2010-01-06T13:46:38Z</dc:date>
    <item>
      <title>Migrating Assembly Code from HC11 to HC12 (MC9S12A32, specifically)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Migrating-Assembly-Code-from-HC11-to-HC12-MC9S12A32-specifically/m-p/165694#M5371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking for a starting point for documentation on migrating existing HC11 assembly code (written by a previous employee) to the MC9S12A32.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It was my understanding that there should be complete coverage of HC11-based assembly code by the HC12 assembler, but I'm seeing assembly errors on BSET/BCLR and BRSET/BRCLR instructions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All of my previous experience has been with 8052 processors, so I apologize for starting from scratch here. &amp;nbsp;Like I said, I'm looking for someone to hopefully point out a good starting point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it helps, a few of the instructions that are throwing assembly errors:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BSET &amp;nbsp; 2,Y &amp;nbsp;$04 &amp;nbsp;(illegal addressing mode error)&lt;/P&gt;&lt;P&gt;BRCLR &amp;nbsp;FLAG #$20 DBDELAY (illegal addressing mode error)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Drew&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2010 13:46:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Migrating-Assembly-Code-from-HC11-to-HC12-MC9S12A32-specifically/m-p/165694#M5371</guid>
      <dc:creator>drewrainwater</dc:creator>
      <dc:date>2010-01-06T13:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating Assembly Code from HC11 to HC12 (MC9S12A32, specifically)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Migrating-Assembly-Code-from-HC11-to-HC12-MC9S12A32-specifically/m-p/165695#M5372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Commas are missing. Probably your HC11 assembler had weaker errors checking.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BSET &amp;nbsp; 2,Y&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;,&lt;/FONT&gt;&lt;/STRONG&gt; &amp;nbsp;&lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;#&lt;/STRONG&gt;&lt;/FONT&gt;$04&lt;/P&gt;&lt;P&gt;BRCLR &amp;nbsp;FLAG&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;,&lt;/FONT&gt;&lt;/STRONG&gt; #$20&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;,&lt;/FONT&gt;&lt;/STRONG&gt; DBDELAY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2010 15:14:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Migrating-Assembly-Code-from-HC11-to-HC12-MC9S12A32-specifically/m-p/165695#M5372</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2010-01-06T15:14:01Z</dc:date>
    </item>
  </channel>
</rss>

