<?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: code warrior disassemble code question</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/code-warrior-disassemble-code-question/m-p/618575#M5237</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Oct 2016 05:59:48 GMT</pubDate>
    <dc:creator>lvyang</dc:creator>
    <dc:date>2016-10-12T05:59:48Z</dc:date>
    <item>
      <title>code warrior disassemble code question</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/code-warrior-disassemble-code-question/m-p/618573#M5235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;code warrior IDE(5.9.0)&lt;/P&gt;&lt;P&gt;MCU:SPC560P34&lt;/P&gt;&lt;P&gt;e_stwu &amp;nbsp; rsp,-32(rsp)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I find this code on every function disassemble code first line.&lt;/P&gt;&lt;P&gt;who can tell me what's the meaning or reference doc?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Oct 2016 01:42:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/code-warrior-disassemble-code-question/m-p/618573#M5235</guid>
      <dc:creator>lvyang</dc:creator>
      <dc:date>2016-10-09T01:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: code warrior disassemble code question</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/code-warrior-disassemble-code-question/m-p/618574#M5236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this instruction allocates stack for the function. At the end of the function, there is something like se_addi r1,0x20 which returns stack pointer to the previous position (before function was called).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2016 11:48:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/code-warrior-disassemble-code-question/m-p/618574#M5236</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-10-11T11:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: code warrior disassemble code question</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/code-warrior-disassemble-code-question/m-p/618575#M5237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 05:59:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/code-warrior-disassemble-code-question/m-p/618575#M5237</guid>
      <dc:creator>lvyang</dc:creator>
      <dc:date>2016-10-12T05:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: code warrior disassemble code question</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/code-warrior-disassemble-code-question/m-p/618576#M5238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;Does&amp;nbsp;the compile define the symble "rsp" as a stack pointer?&lt;/P&gt;&lt;P&gt;If so how to realize push and pop function.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 08:36:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/code-warrior-disassemble-code-question/m-p/618576#M5238</guid>
      <dc:creator>lvyang</dc:creator>
      <dc:date>2016-10-12T08:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: code warrior disassemble code question</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/code-warrior-disassemble-code-question/m-p/618577#M5239</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;rsp is only (compiler) symbolic name for r1 register. If you look at the PPC EABI standard, you will find there that r1 register is always stack pointer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you mean by push and pop functions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you create and call function in C language, compiler automatically create stack frame for this function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you can use nofralloc directive in your asm function:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/6085i8788DC879A256DCB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 11:09:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/code-warrior-disassemble-code-question/m-p/618577#M5239</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-10-12T11:09:44Z</dc:date>
    </item>
  </channel>
</rss>

