<?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: ask help about Assembly Language in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/ask-help-about-Assembly-Language/m-p/167937#M3159</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Robert,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;The instruction loads a longword (4 bytes) from the memory address calculated from the sum of A6 and an offset of 8 from the instruction.&amp;nbsp; The longword is loaded into D6.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An example with numbers:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Say A6 contains 0x10000&lt;/P&gt;&lt;P&gt;mem[0x10008..0x1000B] =&amp;gt; D6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is likely that A6 is being used as a frame pointer and the 8 is an offset into the stack frame used to pass parameters to the function (from C code?).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 Jan 2010 12:58:21 GMT</pubDate>
    <dc:creator>pgo</dc:creator>
    <dc:date>2010-01-16T12:58:21Z</dc:date>
    <item>
      <title>ask help about Assembly Language</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/ask-help-about-Assembly-Language/m-p/167936#M3158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i study&amp;nbsp;assembly language now,in function asm_set_ipl:&lt;/P&gt;&lt;P&gt;i see a instruction as following,but i dont konw the meaning of 8 that at the&amp;nbsp;left of a6.in programer reference datasheet,i dont find the explanation,who can help me or tell me where can find some stuff about it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; move.l&amp;nbsp; 8(A6),D6&amp;nbsp;&amp;nbsp;&amp;nbsp; /* get argument&amp;nbsp; */&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Jan 2010 11:41:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/ask-help-about-Assembly-Language/m-p/167936#M3158</guid>
      <dc:creator>robert_zhang</dc:creator>
      <dc:date>2010-01-16T11:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: ask help about Assembly Language</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/ask-help-about-Assembly-Language/m-p/167937#M3159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Robert,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;The instruction loads a longword (4 bytes) from the memory address calculated from the sum of A6 and an offset of 8 from the instruction.&amp;nbsp; The longword is loaded into D6.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An example with numbers:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Say A6 contains 0x10000&lt;/P&gt;&lt;P&gt;mem[0x10008..0x1000B] =&amp;gt; D6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is likely that A6 is being used as a frame pointer and the 8 is an offset into the stack frame used to pass parameters to the function (from C code?).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Jan 2010 12:58:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/ask-help-about-Assembly-Language/m-p/167937#M3159</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2010-01-16T12:58:21Z</dc:date>
    </item>
  </channel>
</rss>

