All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] __asm__
@ 2000-03-01 14:07 willy
  2000-03-01 15:50 ` Philipp Rumpf
  0 siblings, 1 reply; 4+ messages in thread
From: willy @ 2000-03-01 14:07 UTC (permalink / raw)
  To: parisc-linux


Grant was asking where to find documentation on __asm__, and I think
this is useful to enough people that it's worth posting here.

__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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-03-02  1:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-01 14:07 [parisc-linux] __asm__ willy
2000-03-01 15:50 ` Philipp Rumpf
2000-03-01 19:24   ` [parisc-linux] sba_io_pdir_entry() Grant Grundler
2000-03-01 20:07     ` sba_io_pdir_entry() Philipp Rumpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.