<?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: Inine assembly in LPC Xpresso(cortex m3) in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Inine-assembly-in-LPC-Xpresso-cortex-m3/m-p/566806#M18623</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Tue Feb 12 06:13:18 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to set instruction stepping mode (the icon on the Debug view that looks like "i-&amp;gt;"). The debugger normally steps C statements and your __asm block will look like a single C statement to the debugger. With instruction stepping mode on, you will step each individual assembler instruction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:45:19 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:45:19Z</dc:date>
    <item>
      <title>Inine assembly in LPC Xpresso(cortex m3)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Inine-assembly-in-LPC-Xpresso-cortex-m3/m-p/566805#M18622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by venkateshkuppan on Tue Feb 12 05:57:30 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to write a simple program combining C and assembly language.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I used the following syntax:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;eg:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;int main()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;__asm&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "add r0,#1\n"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "add r1,r0\n"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;return 0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but here while debugging the assembly part does not get executed, the control directly goes to the end of program.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So do I have to include some symbols or is there a mistake in the code I am using?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:45:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Inine-assembly-in-LPC-Xpresso-cortex-m3/m-p/566805#M18622</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Inine assembly in LPC Xpresso(cortex m3)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Inine-assembly-in-LPC-Xpresso-cortex-m3/m-p/566806#M18623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Tue Feb 12 06:13:18 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to set instruction stepping mode (the icon on the Debug view that looks like "i-&amp;gt;"). The debugger normally steps C statements and your __asm block will look like a single C statement to the debugger. With instruction stepping mode on, you will step each individual assembler instruction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:45:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Inine-assembly-in-LPC-Xpresso-cortex-m3/m-p/566806#M18623</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Inine assembly in LPC Xpresso(cortex m3)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Inine-assembly-in-LPC-Xpresso-cortex-m3/m-p/566807#M18624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by venkateshkuppan on Mon Feb 18 11:20:33 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:45:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Inine-assembly-in-LPC-Xpresso-cortex-m3/m-p/566807#M18624</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Inine assembly in LPC Xpresso(cortex m3)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Inine-assembly-in-LPC-Xpresso-cortex-m3/m-p/566808#M18625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by venkateshkuppan on Mon Feb 18 11:24:58 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am writing a code for context switching in LPC 1769.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I changed the mode to User/PSP by writing appropriately to the CONTROL register.Next I made use of SVC. But here I get a Hard Fault and error stating ----{No source available for "g_pfnVectors() at 0x0"}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wrote a C program, switched to assembly for changing mode to User/PSP and here I use SVC.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please tell how I can get back to Privileged/MSP and what exactly the error means.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thankyou.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:45:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Inine-assembly-in-LPC-Xpresso-cortex-m3/m-p/566808#M18625</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:45:20Z</dc:date>
    </item>
  </channel>
</rss>

