[parisc-linux] __asm__
Philipp Rumpf
prumpf@inwestnet.de
Wed, 1 Mar 2000 16:50:37 +0100
> __asm__ is a gcc extension. It allows you to write inline assembler in
> your C source file rather than forcing you to write a separate function
> in a .S file and call it. The original documnetation can be found by
> typing `info gcc' (make sure you have the gcc info files installed
> or you'll just get the manpage). Follow the menus: `C Extensions',
> ``Extended Asm'. I find the documentation pretty obscure, and I have
> to think very carefully every time I write an __asm__ statement.
info '(gcc) Extended Asm' if you don't want to search for it.
The documentation definitely isn't very good, so I would propose to write
to the list whenever you need an asm statements and aren't sure how
exactly to do it (most likely you don't even need the asm statement).
Philipp