public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Keith Owens <kaos@ocs.com.au>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] Inquiry on the pre-processor
Date: Wed, 04 Jul 2001 00:25:26 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590693005817@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590693005816@msgid-missing>

On Tue, 3 Jul 2001 16:41:13 -0700, 
"Robboy, David G" <david.g.robboy@intel.com> wrote:
>What I want to do specifically is for ia32 assembly language, but the
>question is about preprocessing in general.  On certain assembly instruction
>opcodes, I want to suffix a macro that can be changed to the letter "b,"
>"w," or "l," so that a single source program can operate on different sized
>operands. 

#define OP_SUFFIX(op) (op##b)

Unfortunately ## only works inside macros so you have to write
OP_SUFFIX(op) instead of op##suffix.



      reply	other threads:[~2001-07-04  0:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-03 23:41 [Linux-ia64] Inquiry on the pre-processor Robboy, David G
2001-07-04  0:25 ` Keith Owens [this message]

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=marc-linux-ia64-105590693005817@msgid-missing \
    --to=kaos@ocs.com.au \
    --cc=linux-ia64@vger.kernel.org \
    /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