[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

inlining arm-assembly in .c file



I have a function written in ARM-assembly. Is there
some way I can call the function inside a C program
and have arm-linux-gcc compile it ?

something like:

===
main()
{
  foo();
}

/* written in assembly */
foo:
     /* assembly code */
      .........
===

I hope this is the right place to ask!

TIA
-siddharth


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com


-- 
To UNSUBSCRIBE, email to debian-arm-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: