<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/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/"><channel><title>set Context Pointer (CP) and Stack Pointer (SP)</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/18599/set-context-pointer-cp-and-stack-pointer-sp</link><description> Hello, 
 
how can I set the stack pointer and the context pointer to a special beginning value? Is there any way I can do this in the compiler? 
 
Regards, 
Philipp Küber </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: set Context Pointer (CP) and Stack Pointer (SP)</title><link>https://community.arm.com/thread/44066?ContentTypeID=1</link><pubDate>Wed, 25 May 2005 03:47:37 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:23ff9d6c-3197-439d-9ec2-d6e02dac7117</guid><dc:creator>John Donaldson</dc:creator><description>&lt;p&gt;In C51 you can include the file &amp;quot;startup.a51&amp;quot; in your project. The stack pointer is initialised in this file.&lt;br /&gt;
&lt;br /&gt;
I would guess that there would be something similar in C166.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>