From: "Robboy, David G" <david.g.robboy@intel.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] Inquiry on the pre-processor
Date: Tue, 03 Jul 2001 23:41:13 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590693005816@msgid-missing> (raw)
The C preprocessor doesn't recognize macros that are suffixed on words. It
likes to substitute whole words. Does anyone know a trick to get it to
substitute text for suffixes? Someone has to have done this before.
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.
Thanks,
David Robboy
next reply other threads:[~2001-07-03 23:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-03 23:41 Robboy, David G [this message]
2001-07-04 0:25 ` [Linux-ia64] Inquiry on the pre-processor Keith Owens
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-105590693005816@msgid-missing \
--to=david.g.robboy@intel.com \
--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