<?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>Declare 16-bit pointer compiletime</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/32507/declare-16-bit-pointer-compiletime</link><description> 
To support a legacy structure I need a 16-bit pointer. This to
create a linked-list sort of structure. I need this to be declared
compile-time, not runtime. 
Previously, we did this in assembly using Keil C166. 
The resulting pointers should be located</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Declare 16-bit pointer compiletime</title><link>https://community.arm.com/thread/69035?ContentTypeID=1</link><pubDate>Fri, 09 Jan 2015 08:28:35 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:16bf708a-67f9-4b8e-a482-cf88fedb29a4</guid><dc:creator>edPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
You can&amp;#39;t play with pointers since the ARM chip doesn&amp;#39;t use any
16-bit pointers. But if the data is stored within a limited block of
memory, you could instead decide to store the offset relative the
start of your data structure. This allows you to recreate a 32-bit
pointer later.&lt;/p&gt;

&lt;p&gt;
But why don&amp;#39;t you consider rewriting from 16-bit to 32-bit since
whatever you do, you still need to make some changes?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>