<?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>c51</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/15000/c51</link><description> After changing a sbit in bdata Anzeigst ACC must be updated before sending the byte to 
AnzDaten _at_ 0xff86. 
 
For one time it&amp;#39;s ok. 
Second and more acc is not updated. 
What&amp;#39;s wrong ? 
 
W. Gehling 
 
stmt level source 
 
 1 #include &amp;lt;reg515.h&amp;gt; </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: c51</title><link>https://community.arm.com/thread/54564?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2002 13:42:52 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:3ceaffc2-1827-48a9-b8b3-e93454a0a237</guid><dc:creator>Fachschule f&amp;#252;r Technik W. Gehling</dc:creator><description>&lt;p&gt;Thank you all&lt;br /&gt;
&lt;br /&gt;
W. Gehling&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: c51</title><link>https://community.arm.com/thread/39018?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2002 11:06:00 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:67a0c941-5e57-4791-bd0f-2bbcedd15354</guid><dc:creator>Jon Ward</dc:creator><description>&lt;p&gt;Use the &lt;b&gt;volatile&lt;/b&gt; keyword so that the compiler doesn&amp;#39;t optimize out accesses to Anzeigst.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Jon&lt;/b&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: c51</title><link>https://community.arm.com/thread/50151?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2002 11:04:03 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:4aeeca85-e520-4e64-b47c-78007f5f61a6</guid><dc:creator>Scott deWolski</dc:creator><description>&lt;p&gt;It looks like the reloading of the Acc is being optomized out by the compiler.  Either turn off compiler optimization or declare &amp;#39;Anzeigst&amp;#39; as volatile.  These should work.&lt;br /&gt;
Best luck&lt;br /&gt;
Scott&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>