<?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>is array size limited?</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/42743/is-array-size-limited</link><description> Hi, 
 
When i run the program below with the array size as 255,the random values are getting stored in the value array correctly.But if I increase the size of the array to 256 only &amp;#39;0&amp;#39;s&amp;#39;(zeros) are getting stored at all the locations?How can I overcome</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: is array size limited?</title><link>https://community.arm.com/thread/73826?ContentTypeID=1</link><pubDate>Sat, 11 Feb 2006 07:33:27 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:9a84466e-33c8-4206-b22f-28b54adc6d87</guid><dc:creator>senthil raj</dc:creator><description>&lt;p&gt;&lt;i&gt;&lt;b&gt;How do you determine that?&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;
Well I looked into the watch window to see what random values are stored in the array.....&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&lt;b&gt;Are you sure that your entire loop isn&amp;#39;t just being optimised away?&lt;/b&gt;&lt;i&gt;&lt;br /&gt;
&lt;br /&gt;
i am using the array values for bubble sorting...so I&amp;#39;m sure that there is no place for optimization like Dead code or dead varaible elimination to remove the array values...&lt;/i&gt;&lt;/i&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is array size limited?</title><link>https://community.arm.com/thread/45540?ContentTypeID=1</link><pubDate>Sat, 11 Feb 2006 05:49:09 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:364eac6e-6c72-4f8e-a244-1a7bde328e5f</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot;&amp;#39;0&amp;#39;s&amp;#39;(zeros) are getting stored at all the locations&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
How do you determine that?&lt;br /&gt;
&lt;br /&gt;
Are you sure that your entire loop isn&amp;#39;t just being optimised away?&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&amp;quot;is there any limitation for the size of the array in keil?&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Implementation details like that will be in the &lt;b&gt;Manual&lt;/b&gt;; be sure to read the correct manual - GNU, CARM, or Realview...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>