Re: inlining arm-assembly in .c file
On Mon, Jul 29, 2002 at 12:24:51PM -0700, Siddharth Choudhuri wrote:
> asm("... assembly code ")
You can do it as shown above.. if it is a lot of code, just put the
assembly in a separate .S file and link them together, then you can
call it from C.
Now I do have to ask: do you absolutely have to write in assembly? It
makes things very difficult to port to other architectures...
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org