Peter yahoo.com> writes: > William "Chops" Westfield mac.com> writes: > > volatile neat unsigned char *addr; > #define fsrub(addr) (*((unsigned char*)addr)) > #define fsruw(addr) (*((unsigned short*)addr)) HMM what's the correct way to tell the compiler the target of the pointer is volatile in the context above... likely: #define fsrub(addr) (*((volatile unsigned char*)addr)) according to: http://www.embedded.com/story/OEG20010615S0107 In general, embedded.com is a great resource imho. -- Peter -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist