<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How can I jump to flash address? NRF51422</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9690/how-can-i-jump-to-flash-address-nrf51422</link><description>Hi, 
 I have problem while jumping to another application (address) in flash code region. 
 I placed first app at 0x00000000 address and the second at 0x00002800 what I want to do is just to jump from first addess to second and execute the second app</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Oct 2015 00:03:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9690/how-can-i-jump-to-flash-address-nrf51422" /><item><title>RE: How can I jump to flash address? NRF51422</title><link>https://devzone.nordicsemi.com/thread/35854?ContentTypeID=1</link><pubDate>Tue, 13 Oct 2015 00:03:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7cf89be-ded2-4ce7-b1bf-8f2837c75e6e</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Look at the generated assembler. Depending on which compiler you are using, writing what you wrote with no &amp;#39;naked&amp;#39; keyword and no extended syntax may not actually start with start_addr in R0 but add a preamble which uses it. The compiler is also at liberty to assume start_addr isn&amp;#39;t used at all and not bother to set it.&lt;/p&gt;
&lt;p&gt;You&amp;#39;d be better off writing this with the extended syntax, something like appending &lt;code&gt;: : r (start_addr)&lt;/code&gt; and then using %0 instead of R0 in the code&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>