Site Mirror:   USA  |  China
  Home   Products   Service   Order   Support   Forum   Company   Download 
 

  Support


>> FAQ
 
 
>> FAQ Search
 
 
>> Support Contact
 
 
>> Online Support
 
 
 


Answer


FAQ >> Embest IDE for ARM >> Instructions and codes


Date   2005-7-29 10:34:50
Question   Would you offer an example for embedding assembly language in C language?
Answer
 

Embest IDE uses GCC compiler and of course supports mixed programming.
e.g. 
void foo()  
{  
   int i;  
   i = 0;  
   __asm__( "mov r1, r2" );  
   return;  
}   


 Embest Info&Tech Co., Ltd. Copyright © 2000-2010, All rights reserved.

Room 509, Luohu Science&Technology Building, #85 Taining Road, Shenzhen, Guangdong, China(518020)
Tel: +86-755-25635656   Fax: +86-755-25616057  http://www.armkits.com  http://www.embedinfo.com 
Report any problems to the webmaster.