This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]