Linux PARISC architecture development
 help / color / mirror / Atom feed
From: willy@thepuffingroup.com
To: parisc-linux@thepuffingroup.com
Subject: [parisc-linux] __asm__
Date: Wed, 1 Mar 2000 09:07:01 -0500	[thread overview]
Message-ID: <20000301090701.M9944@thepuffingroup.com> (raw)


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.

             reply	other threads:[~2000-03-01 16:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-01 14:07 willy [this message]
2000-03-01 15:50 ` [parisc-linux] __asm__ 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000301090701.M9944@thepuffingroup.com \
    --to=willy@thepuffingroup.com \
    --cc=parisc-linux@thepuffingroup.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox