<?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: .S file in LPCXpresso in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/S-file-in-LPCXpresso/m-p/559919#M15971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Atieh on Tue Feb 17 02:51:30 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am new in LPCXpresso. Is there any link for this purpose to get more knowledge? I couldn't find in LPCXpresso help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:44:14 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:44:14Z</dc:date>
    <item>
      <title>.S file in LPCXpresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/S-file-in-LPCXpresso/m-p/559915#M15967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Atieh on Mon Feb 16 10:27:30 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I add .s file to C project in LPCXpresso and compile it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ati&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:44:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/S-file-in-LPCXpresso/m-p/559915#M15967</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: .S file in LPCXpresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/S-file-in-LPCXpresso/m-p/559916#M15968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Mon Feb 16 11:35:20 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Just create you file.s (with a .s extension) in the src directory and the assembler will be called to build it, and it will automatically be added to the list of files to be linked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DO you have a specific problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:44:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/S-file-in-LPCXpresso/m-p/559916#M15968</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: .S file in LPCXpresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/S-file-in-LPCXpresso/m-p/559917#M15969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Atieh on Tue Feb 17 02:03:48 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I created .s file and added to project. But after compile, I have error "bad instruction" on all line of this file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The .s file is attached. If it is possible to have a look at this file would be great. I got&amp;nbsp; this file from lp4357 mp3 radio project which is for Keil.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso I am working with is 7.5.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:44:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/S-file-in-LPCXpresso/m-p/559917#M15969</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: .S file in LPCXpresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/S-file-in-LPCXpresso/m-p/559918#M15970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Tue Feb 17 02:13:50 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, Keil assembler syntax is not compatible with LPCXpresso (GNU) assembler syntax. The instruction mnemonics are the same, but the assembler directives etc are not. It should not be too difficult to change your assembler file to be compatible.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:44:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/S-file-in-LPCXpresso/m-p/559918#M15970</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: .S file in LPCXpresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/S-file-in-LPCXpresso/m-p/559919#M15971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Atieh on Tue Feb 17 02:51:30 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am new in LPCXpresso. Is there any link for this purpose to get more knowledge? I couldn't find in LPCXpresso help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:44:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/S-file-in-LPCXpresso/m-p/559919#M15971</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: .S file in LPCXpresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/S-file-in-LPCXpresso/m-p/559920#M15972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Tue Feb 17 05:30:29 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fsourceware.org%2Fbinutils%2Fdocs%2Fas%2Findex.html" rel="nofollow" target="_blank"&gt;https://sourceware.org/binutils/docs/as/index.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:44:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/S-file-in-LPCXpresso/m-p/559920#M15972</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: .S file in LPCXpresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/S-file-in-LPCXpresso/m-p/559921#M15973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by R2D2 on Tue Feb 17 05:41:21 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;There's a sample in #10 of&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fforum%2Fhow-to-compile-assembly-instructions-i-lpcxpresso-ide" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/forum/how-to-compile-assembly-instructions-i-lpcxpresso-ide&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:44:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/S-file-in-LPCXpresso/m-p/559921#M15973</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: .S file in LPCXpresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/S-file-in-LPCXpresso/m-p/559922#M15974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Atieh on Tue Mar 03 09:07:44 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for replies.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another question:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a function :PolyphaseStereo(pcmBuf, sbi-&amp;gt;vbuf + sbi-&amp;gt;vindex + VBUF_LENGTH * (b &amp;amp; 0x01), polyCoef)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is written in assembly. How can I link the inputs of this function to the processor's register when I recall it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:44:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/S-file-in-LPCXpresso/m-p/559922#M15974</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: .S file in LPCXpresso</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/S-file-in-LPCXpresso/m-p/559923#M15975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Tue Mar 03 09:25:26 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to write your function so that it conforms to the procedure call standard (AAPCS, ARM document IHI0042D).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For simple cases it suffices to know that the first four 32 bit arguments end up in R0 to R3, a 32 bit result is in R0.&amp;nbsp; R4 to R11 need to be preserved. (No guarantees that this is correct or complete, better check for yourself.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:44:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/S-file-in-LPCXpresso/m-p/559923#M15975</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:44:17Z</dc:date>
    </item>
  </channel>
</rss>

