<?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>MPC5xxx中的主题 Re: How to access macro variable to an asm function in mpc5746</title>
    <link>https://community.nxp.com/t5/MPC5xxx/How-to-access-macro-variable-to-an-asm-function-in-mpc5746/m-p/638021#M6205</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;you can't do that. It is not possible to put C expression to asm code. You can do that only if it is pure number like:&lt;/P&gt;&lt;P&gt;#define STATUS_VAR 0x40008025U&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Apr 2017 04:47:22 GMT</pubDate>
    <dc:creator>lukaszadrapa</dc:creator>
    <dc:date>2017-04-04T04:47:22Z</dc:date>
    <item>
      <title>How to access macro variable to an asm function in mpc5746</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-access-macro-variable-to-an-asm-function-in-mpc5746/m-p/638020#M6204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How&amp;nbsp;to access the following macro to my inline-asm function, and to store 32 bit value to that location&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: small; font-family: 'Segoe UI';"&gt;#define STATUS_VAR&amp;nbsp;(*(volatile uint32_t*)0x40008025u)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: small; font-family: 'Segoe UI';"&gt;&lt;SPAN style="color: #000000; font-size: small; font-family: 'Segoe UI';"&gt;asm void testFunc(void)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN style="color: #000000; font-size: small; font-family: 'Segoe UI';"&gt;{&lt;/SPAN&gt;&lt;SPAN lang="en-us"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: small; font-family: 'Segoe UI';"&gt;-------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: small; font-family: 'Segoe UI';"&gt;-------&lt;BR /&gt;&lt;SPAN style="color: #000000; font-size: small; font-family: 'Segoe UI';"&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 07:01:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-access-macro-variable-to-an-asm-function-in-mpc5746/m-p/638020#M6204</guid>
      <dc:creator>renjithr</dc:creator>
      <dc:date>2017-04-03T07:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to access macro variable to an asm function in mpc5746</title>
      <link>https://community.nxp.com/t5/MPC5xxx/How-to-access-macro-variable-to-an-asm-function-in-mpc5746/m-p/638021#M6205</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;you can't do that. It is not possible to put C expression to asm code. You can do that only if it is pure number like:&lt;/P&gt;&lt;P&gt;#define STATUS_VAR 0x40008025U&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 04:47:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/How-to-access-macro-variable-to-an-asm-function-in-mpc5746/m-p/638021#M6205</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2017-04-04T04:47:22Z</dc:date>
    </item>
  </channel>
</rss>

