<?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>Kinetis Microcontrollers中的主题 Assembly function argument pass</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Assembly-function-argument-pass/m-p/716816#M43987</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;I'm coding assembly language on MK66FN2M0VMF18 processor.When I code a function in C format named uint8_t(uint8_t Address,uint32_t Data,uint8_t *p),and then the function will be called in the C source file.I want to know where the three arguments '&lt;SPAN&gt;Address&lt;/SPAN&gt;' '&lt;SPAN&gt;Data&lt;/SPAN&gt;' '&lt;SPAN&gt;p&lt;/SPAN&gt;' would be passed to in&amp;nbsp;&lt;SPAN&gt;MK66FN2M0VMF18's registers.The store registers decide my assembly language.Can you give me some related docs or links?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Frank&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Mar 2018 05:33:37 GMT</pubDate>
    <dc:creator>frank涛李</dc:creator>
    <dc:date>2018-03-20T05:33:37Z</dc:date>
    <item>
      <title>Assembly function argument pass</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Assembly-function-argument-pass/m-p/716816#M43987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;I'm coding assembly language on MK66FN2M0VMF18 processor.When I code a function in C format named uint8_t(uint8_t Address,uint32_t Data,uint8_t *p),and then the function will be called in the C source file.I want to know where the three arguments '&lt;SPAN&gt;Address&lt;/SPAN&gt;' '&lt;SPAN&gt;Data&lt;/SPAN&gt;' '&lt;SPAN&gt;p&lt;/SPAN&gt;' would be passed to in&amp;nbsp;&lt;SPAN&gt;MK66FN2M0VMF18's registers.The store registers decide my assembly language.Can you give me some related docs or links?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Frank&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 05:33:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Assembly-function-argument-pass/m-p/716816#M43987</guid>
      <dc:creator>frank涛李</dc:creator>
      <dc:date>2018-03-20T05:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Assembly function argument pass</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Assembly-function-argument-pass/m-p/716817#M43988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ARM parameter passing rules states that you should use R0 - R3 for paramenters. If you need to pass more than 4, then, use the stack:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://infocenter.arm.com/help/topic/com.arm.doc.ihi0042f/IHI0042F_aapcs.pdf" title="http://infocenter.arm.com/help/topic/com.arm.doc.ihi0042f/IHI0042F_aapcs.pdf"&gt;http://infocenter.arm.com/help/topic/com.arm.doc.ihi0042f/IHI0042F_aapcs.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For parameter returns, you should use R0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2018 20:52:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Assembly-function-argument-pass/m-p/716817#M43988</guid>
      <dc:creator>carlos_neri</dc:creator>
      <dc:date>2018-03-21T20:52:20Z</dc:date>
    </item>
  </channel>
</rss>

