<?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>GETTING ERROR WHILE COMPILING #pragma src</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/42281/getting-error-while-compiling-pragma-src</link><description> HI 
all , 
i have c programme its around 600lines of coding , bcos of the code size constraint i have to convert it to asm , i used src ie 
#pragma src.when i compiled i got error 
210,input file error.but when i searched *.src file the code is converted</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: GETTING ERROR WHILE COMPILING #pragma src</title><link>https://community.arm.com/thread/96163?ContentTypeID=1</link><pubDate>Sun, 29 Feb 2004 22:41:26 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:44161836-53ae-4cb3-8645-b5aa8315b3f3</guid><dc:creator>JOHN E</dc:creator><description>&lt;p&gt;Hi&lt;br /&gt;
Andy neil thanks for your suggestions ,well&lt;br /&gt;
i started optimizing my code .&lt;br /&gt;
&lt;br /&gt;
Regards&lt;br /&gt;
john e&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GETTING ERROR WHILE COMPILING #pragma src</title><link>https://community.arm.com/thread/86696?ContentTypeID=1</link><pubDate>Sat, 28 Feb 2004 04:44:59 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:bf7ebead-d310-4be6-956d-680012545cc9</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot;There was a recent thread here on writing efficiently in C51&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Here it is:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.keil.com/forum/docs/thread4066.asp"&gt;http://www.keil.com/forum/docs/thread4066.asp&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
...ans it was actually &lt;i&gt;&lt;b&gt;your&lt;/b&gt;&lt;/i&gt; thread!&lt;br /&gt;
Did you follow the suggestions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GETTING ERROR WHILE COMPILING #pragma src</title><link>https://community.arm.com/thread/41791?ContentTypeID=1</link><pubDate>Sat, 28 Feb 2004 04:24:32 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f4057cb2-8d7b-4499-ac42-7d8a9380513d</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot;i have c programme its around 600 lines of coding , &lt;b&gt;bcos&lt;/b&gt; &lt;/i&gt;[sic]&lt;i&gt; of the code size constraint i have to convert it to asm&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
If your &amp;#39;C&amp;#39; coding is as lazy as this (how hard is it to write &amp;quot;because&amp;quot; properly?), it&amp;#39;s not surprising that you get bloated code!&lt;br /&gt;
&lt;br /&gt;
Assembler is not magic - if you can&amp;#39;t write efficiently in &amp;#39;C&amp;#39;, you may well end up getting &lt;i&gt;worse&lt;/i&gt; results in assembler!&lt;br /&gt;
&lt;br /&gt;
Have you reviewed the efficiency of your &amp;#39;C&amp;#39; code before deciding to resort to assembler?&lt;br /&gt;
&lt;br /&gt;
There was a recent thread here on writing efficiently in C51, and the &lt;b&gt;Manual&lt;/b&gt; has a whole chapter on it.&lt;br /&gt;
&lt;br /&gt;
What optimiser settings are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>