<?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>C calling Assembly</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/37111/c-calling-assembly</link><description> 
I am looking for a detailed manual explaining the headers inside
of assembly so I can build a function in assembly and call it from C.
I saw following link ( http://www.keil.com/support/docs/50.htm )
but I want to understand what the headers are and</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: C calling Assembly</title><link>https://community.arm.com/thread/98783?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2007 03:56:15 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:76a313bc-d18e-49b3-8d6a-6554d70b26cb</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
In addition to the &lt;b&gt;Interfacing C to Assembler&lt;/b&gt; section&lt;br /&gt;
&lt;a href="http://www.keil.com/support/man/docs/c51/c51_ap_ctoasm.htm"&gt;http://www.keil.com/support/man/docs/c51/c51_ap_ctoasm.htm&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
You will also need to read:&lt;/p&gt;

&lt;p&gt;
&lt;b&gt;Segment Naming Conventions&lt;/b&gt;&lt;br /&gt;
&lt;a href="http://www.keil.com/support/man/docs/c51/c51_ap_segname.htm"&gt;http://www.keil.com/support/man/docs/c51/c51_ap_segname.htm&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
&lt;b&gt;Data Storage Formats&lt;/b&gt;&lt;br /&gt;
&lt;a href="http://www.keil.com/support/man/docs/c51/c51_ap_datastorage.htm"&gt;http://www.keil.com/support/man/docs/c51/c51_ap_datastorage.htm&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
You might also take a look at the &lt;b&gt;Optimiser&lt;/b&gt;:&lt;br /&gt;
&lt;a href="http://www.keil.com/support/man/docs/c51/c51_ap_optimizer.htm"&gt;http://www.keil.com/support/man/docs/c51/c51_ap_optimizer.htm&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C calling Assembly</title><link>https://community.arm.com/thread/88097?ContentTypeID=1</link><pubDate>Wed, 03 Jan 2007 16:01:13 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:64c04c89-8c78-4b93-a0b9-0bbc8339befc</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Isn&amp;#39;t that precisely what the &lt;b&gt;Manual&lt;/b&gt; tells you?&lt;/p&gt;

&lt;p&gt;
Exactly what is it that you want to know?&lt;/p&gt;

&lt;p&gt;
What &amp;quot;options&amp;quot; do you mean?&lt;br /&gt;
What do you mean by the &amp;quot;head&amp;quot; of the assembly file?&lt;/p&gt;

&lt;p&gt;
If you want to know about assembler, see the Assembler
&lt;b&gt;Manual:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/support/man/docs/a51/"&gt;http://www.keil.com/support/man/docs/a51/&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C calling Assembly</title><link>https://community.arm.com/thread/47506?ContentTypeID=1</link><pubDate>Wed, 03 Jan 2007 15:34:20 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:fbef53b4-1ec8-46b8-9602-3c4702df093c</guid><dc:creator>Adam Thompson</dc:creator><description>&lt;p&gt;&lt;p&gt;
Yes I did, I am not just looking to make this work, I am also
looking to understand what the options are specifically in the head
of the assembly file. I was told that there are a lot of options and
customizations available in the assembly file head.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: C calling Assembly</title><link>https://community.arm.com/thread/47500?ContentTypeID=1</link><pubDate>Wed, 03 Jan 2007 14:37:49 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:456d5ac6-766e-4ea3-9d91-efb78734f2d9</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Did you read the &lt;b&gt;Interfacing C to Assembler&lt;/b&gt; section in the
&lt;b&gt;Manual&lt;/b&gt; - as cited in that document?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>