<?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>Realview and old Keil Assembler</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/20224/realview-and-old-keil-assembler</link><description> 
Hi, 
I am converting an old code to the Keil-Realview tool. 
I have this line, which was fine using the old tool. 

 
__asm{ LDR LR, [LR, #+60] }; 

 
The above generate the following error 

 
error: #52: expected a marcro parameter name 

 
Please</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Realview and old Keil Assembler</title><link>https://community.arm.com/thread/74276?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2006 12:39:32 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e98b2fbe-3cb0-4a00-90c6-9d95c3a626fe</guid><dc:creator>Quay Ga</dc:creator><description>&lt;p&gt;&lt;p&gt;
Yes there are other statements before and after this.&lt;br /&gt;
Thanks for the information. I will try to work on this, if there are
other stopper I will request for your help again.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Realview and old Keil Assembler</title><link>https://community.arm.com/thread/46565?ContentTypeID=1</link><pubDate>Thu, 10 Aug 2006 05:20:56 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:48328f80-6acb-4bb3-a71a-49f1b7df3024</guid><dc:creator>Martin Unger</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hi,&lt;/p&gt;

&lt;p&gt;
inline assembler in ARM RealView compiler is not what one wouldt
expect anymore. Please look at
DUI0205G_rvct_compiler_and_libraries_guide available from ARM. There
is a chapter about &amp;quot;Inline and Embedded Assemblers&amp;quot;.&lt;/p&gt;

&lt;p&gt;
But note: Even if you use the &amp;quot;Embedded Assembler&amp;quot; the result may
not be what you need: These statements are arranged like a &amp;quot;function&amp;quot;
and are &amp;quot;called&amp;quot;, that means jumped at using BL - which of course
modifies the LR. I did not find a way to get these __asm functions
&amp;quot;inlined&amp;quot; with no extra statements.&lt;/p&gt;

&lt;p&gt;
Maybe somebody else can help with this problem.&lt;/p&gt;

&lt;p&gt;
With kind regards&lt;/p&gt;

&lt;p&gt;
Martin&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>