<?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>Calling ASM functions from C</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/14448/calling-asm-functions-from-c</link><description> I&amp;#39;m using the uVision2 8051 eval version trying to see if it&amp;#39;s worth leaving my normal asm enviroment. 
Natualy I have some asm functions that I would like to take with me, but I need to figure out how to call my asm functions. 
 
I have three different</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Calling ASM functions from C</title><link>https://community.arm.com/thread/84159?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2001 11:26:22 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b6ba24c4-b8e8-449c-84fb-6c64177bd2b5</guid><dc:creator>Andrew Neil</dc:creator><description>&lt;p&gt;Note that the Forum &amp;amp; Knowledgebase searches are separate:&lt;br /&gt;
The link for the &lt;b&gt;Forum&lt;/b&gt; search is to the &lt;b&gt;left&lt;/b&gt; of the page;&lt;br /&gt;
The link for the &lt;b&gt;Knowledgebase&lt;/b&gt; search is at the &lt;b&gt;top&lt;/b&gt; of the page.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calling ASM functions from C</title><link>https://community.arm.com/thread/84160?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2001 11:22:16 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:494326b2-b008-4201-86ae-47dd0da7ff3c</guid><dc:creator>Andrew Neil</dc:creator><description>&lt;p&gt;As I said before,&lt;br /&gt;
&lt;i&gt;Note that all the manuals are on the CD, and accessible via the &amp;#39;Books&amp;#39; tab in the uVision Project window.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="https://www.keil.com/demo/cdrom.asp"&gt;https://www.keil.com/demo/cdrom.asp&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
If you downloaded your demo, I think there&amp;#39;s an option to download with or without manuals.&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calling ASM functions from C</title><link>https://community.arm.com/thread/53903?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2001 10:09:48 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:25239514-7fd9-4f4c-aa77-29cbc23aceca</guid><dc:creator>Flemming Steffensen</dc:creator><description>&lt;p&gt;Hi Andrew,&lt;br /&gt;
&lt;br /&gt;
I&amp;#39;ve not recieved any manuals with the eval release of uVisuion2 I have. Where are they available?&lt;br /&gt;
&lt;br /&gt;
I allready tried a search in this forum, but apparently &amp;quot;C&amp;quot;, &amp;quot;asm&amp;quot;, &amp;quot;assembler&amp;quot; and &amp;quot;function&amp;quot; are stripped from any search string, making it a hard to search for item.&lt;br /&gt;
&lt;br /&gt;
But thanks for your input anyway.&lt;br /&gt;
&lt;br /&gt;
Regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calling ASM functions from C</title><link>https://community.arm.com/thread/53902?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2001 10:05:31 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:33d9df58-fc5b-47a3-88b7-e4690edea8b1</guid><dc:creator>Flemming Steffensen</dc:creator><description>&lt;p&gt;Tak Erik,&lt;br /&gt;
I&amp;#39;ll try it your way!&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calling ASM functions from C</title><link>https://community.arm.com/thread/37936?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2001 08:09:07 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0f7e2a5b-3bd3-4795-a666-52e96fffdd22</guid><dc:creator>erik malund</dc:creator><description>&lt;p&gt;Flemming,&lt;br /&gt;
&lt;br /&gt;
  The easiest way to create interfaces to asm subroutines from Keil C is to write the subroutine as a C function and have the compiler generate assembler code.  Then remove the gut of the pittiful assembler routine the compiler generated and insert your code there.&lt;br /&gt;
&lt;br /&gt;
hilsen fra USA&lt;br /&gt;
&lt;br /&gt;
Erik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calling ASM functions from C</title><link>https://community.arm.com/thread/37929?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2001 07:30:53 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:4b6d8614-20fb-4b93-a2d8-5e88dd8666b8</guid><dc:creator>Andrew Neil</dc:creator><description>&lt;p&gt;Well the &lt;i&gt;&lt;b&gt;first&lt;/b&gt;&lt;/i&gt; thing to do is, of course, read the manuals!&lt;br /&gt;
&lt;br /&gt;
I think the section &lt;i&gt;Interfacing C Programs to Assembler&lt;/i&gt; might be appropriate?  ;-)&lt;br /&gt;
&lt;br /&gt;
Note that all the manuals are on the CD, and accessible &lt;i&gt;via&lt;/i&gt; the &amp;#39;Books&amp;#39; tab in the uVision Project window.&lt;br /&gt;
&lt;br /&gt;
Also try a search of this forum, and the Support Knowledgebase&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>