This is the mail archive of the gcc@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]

Re: Inline assembly......


> I'd rather think he simply meant (if 0xfedcba98 is the address of the register):
> 
> #define THE_REGISTER (*((volatile unsigned char *)0xfedcba98))
> 
> 	value = THE_REGISTER;

Why did he pick the subject "Inline assembly", then?

Martin

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