> So, Is there a way of forcing the compiler to overlay two variables such > that i can have an char mapping to the least-significant byte of the long? > This is the first thing that pops into my head: unsigned long counter; char * Counter_LSB_Pointer = counter; //or counter + sizeof(long) - 1; depending on endianness -Scott -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist