<?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>CodeWarrior Development ToolsのトピックRe: Modify the value of variable in assembly</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Modify-the-value-of-variable-in-assembly/m-p/303271#M673</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your post, however please consider moving it to the right community place (e.g. &lt;A href="https://community.nxp.com/space/2020"&gt;CodeWarrior Development Tools&lt;/A&gt; or &lt;A href="https://community.nxp.com/space/2016"&gt;8-bit Microcontrollers&lt;/A&gt;) to get it visible for active members.&lt;/P&gt;&lt;P&gt;For details please see general advice &lt;A href="https://community.nxp.com/docs/DOC-99909"&gt;Where to post a Discussion?&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for using Freescale Community.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Mar 2014 14:33:20 GMT</pubDate>
    <dc:creator>Wlodek_D_</dc:creator>
    <dc:date>2014-03-25T14:33:20Z</dc:date>
    <item>
      <title>Modify the value of variable in assembly</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Modify-the-value-of-variable-in-assembly/m-p/303270#M672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Support,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on HCS08, with CW 10.1 assembly language programming.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need support to write a assembly routine to modify the value of 32 bit variable.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please support in this.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Giri &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 11:38:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Modify-the-value-of-variable-in-assembly/m-p/303270#M672</guid>
      <dc:creator>girichavana</dc:creator>
      <dc:date>2014-03-25T11:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Modify the value of variable in assembly</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Modify-the-value-of-variable-in-assembly/m-p/303271#M673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your post, however please consider moving it to the right community place (e.g. &lt;A href="https://community.nxp.com/space/2020"&gt;CodeWarrior Development Tools&lt;/A&gt; or &lt;A href="https://community.nxp.com/space/2016"&gt;8-bit Microcontrollers&lt;/A&gt;) to get it visible for active members.&lt;/P&gt;&lt;P&gt;For details please see general advice &lt;A href="https://community.nxp.com/docs/DOC-99909"&gt;Where to post a Discussion?&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for using Freescale Community.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 14:33:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Modify-the-value-of-variable-in-assembly/m-p/303271#M673</guid>
      <dc:creator>Wlodek_D_</dc:creator>
      <dc:date>2014-03-25T14:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Modify the value of variable in assembly</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Modify-the-value-of-variable-in-assembly/m-p/303272#M674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Giri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe this is the same issue as service request 1-1314984694&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CW for 8bit mcu assembly instruction doesn’t have a simple instruction that can modify the value of a 32bit variable. This is limited by the related register width.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See below code: it is to set 32bit variable temp_long as 0xaabbccdd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="background: yellow; font-size: 10.0pt;"&gt;temp_long ds 4&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="background: yellow; font-size: 10.0pt;"&gt;… …&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="background: yellow; font-size: 10.0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ldhx&amp;nbsp; #$aabb&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="background: yellow; font-size: 10.0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sthx&amp;nbsp; temp_long&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="background: yellow; font-size: 10.0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ldhx&amp;nbsp; #$ccdd&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="background: yellow; font-size: 10.0pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sthx temp_long+2&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;this answer is for you. if you think it helps, please click on the "correct answer" button, thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;JunZhang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 03:27:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Modify-the-value-of-variable-in-assembly/m-p/303272#M674</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2014-03-28T03:27:05Z</dc:date>
    </item>
  </channel>
</rss>

