This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
constraint for immediate offset
- From: b u <bnulbig at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Sun, 18 Jul 2004 19:21:32 -0700 (PDT)
- Subject: constraint for immediate offset
Is there an immediate constraint that doesn't insert a
'$'. I would like to do something like:
struct foo { ... };
...
struct foo* b;
...
__asm__ { "insn %1(%0),..." :...: "r" (b),
"i" (sizeof(struct foo)) };
-Ben
__________________________________
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/