<?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>Pls assist to clarify if this C51 code is accurate?!</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/19130/pls-assist-to-clarify-if-this-c51-code-is-accurate</link><description> Hi All 
 Based on the following assemble code, I wrote a program with the same function in C51 code. However, my program seems to be inaccurate because I failed to collect data after its operation.(This means the complier passes, but I do not obtain</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Pls assist to clarify if this C51 code is accurate?!</title><link>https://community.arm.com/thread/87308?ContentTypeID=1</link><pubDate>Tue, 26 Jul 2005 15:49:20 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:88f0c79c-45af-4f45-8bce-ea8aae5f727f</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;&lt;i&gt;The C code is wrong&lt;/i&gt;&lt;br /&gt;
is it even C code except for the syntax?&lt;br /&gt;
&lt;br /&gt;
Erik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pls assist to clarify if this C51 code is accurate?!</title><link>https://community.arm.com/thread/44391?ContentTypeID=1</link><pubDate>Tue, 26 Jul 2005 14:24:27 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:395eca91-156e-4790-a8e0-b8c07b0e9955</guid><dc:creator>HansBernhard Broeker</dc:creator><description>&lt;p&gt;The C code is wrong.  For starters, the type of variable YHL is way wrong, and you try to work with the CPU&amp;#39;s carry flag from C code, which cannot work.&lt;br /&gt;
&lt;br /&gt;
The C code you showed leaves the impression that you&amp;#39;re trying to win a professional race  over 100 meters before having mastered proper walking.  You&amp;#39;re treating C as just a somewhat obfuscated variant of assembler (evident e.g. in all those gotos and labels).  You&amp;#39;re doing yourself more harm than good by using C here.&lt;br /&gt;
&lt;br /&gt;
So: please stop what you&amp;#39;re doing, and go back to the start of your &amp;quot;How to learn a new programming language&amp;quot; project.  Forget about the &amp;#39;51 for a while, and train plain C programming instead.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>