<?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 assembly from c</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/28790/calling-assembly-from-c</link><description> 
Hello, I have a problem with calling assembly from c. 

 
typedef unsigned char digit; // apn is a pointer to array of
digits. 

 
Functions: 

 
add(apn number1,apn number2,apn result) 

 
subtract(apn number1,apn number2,apn result) 

 
multiply(apn</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Calling assembly from c</title><link>https://community.arm.com/thread/104871?ContentTypeID=1</link><pubDate>Tue, 17 May 2011 14:47:27 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:90a68dc5-01f7-465e-bdd3-87de380a076b</guid><dc:creator>Neil Kurzman</dc:creator><description>&lt;p&gt;&lt;p&gt;
I missed that. Definitely not a generic question.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calling assembly from c</title><link>https://community.arm.com/thread/90989?ContentTypeID=1</link><pubDate>Tue, 17 May 2011 11:32:51 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c5d4ed25-b8e4-4e66-9f31-3b254dbd73ff</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Only if it&amp;#39;s for an &lt;b&gt;8051&lt;/b&gt; project!&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calling assembly from c</title><link>https://community.arm.com/thread/59432?ContentTypeID=1</link><pubDate>Tue, 17 May 2011 10:35:34 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:1fe283d2-afab-45fb-8ea1-1c2e92d8e11a</guid><dc:creator>Neil Kurzman</dc:creator><description>&lt;p&gt;&lt;p&gt;
Did you search. The common way is to make a C module with dummy
functions. compile it with list enabled. Then use that as a template
for an A51 file.&lt;br /&gt;
toss the C file and add the A51 to the project.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calling assembly from c</title><link>https://community.arm.com/thread/90987?ContentTypeID=1</link><pubDate>Mon, 16 May 2011 15:11:27 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:93647113-22ca-4bcf-a302-8d6e10bc43fe</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
&amp;quot;Read The Manual First&amp;quot; - of course!&lt;/p&gt;

&lt;p&gt;
&lt;b&gt;;-)&lt;/b&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calling assembly from c</title><link>https://community.arm.com/thread/66593?ContentTypeID=1</link><pubDate>Mon, 16 May 2011 09:35:58 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:315cbf18-4f9d-40a9-8e7e-0409ddffa75e</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Other than to say &lt;b&gt;RTMF&lt;/b&gt;, This is &lt;i&gt;&lt;b&gt;not&lt;/b&gt;&lt;/i&gt; a generic
question - it is entirely specific to the particular toolset that you
are using.&lt;/p&gt;

&lt;p&gt;
You &lt;i&gt;&lt;b&gt;must&lt;/b&gt;&lt;/i&gt; specify the specific toolset that you are
using!&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>