John Dammeyer wrote: > And why in the world would you install integer promotions on an 8 bit > processor for a language designed for 16 bits? Because int is 16 bits and 16 bit numbers are not that expensive on a PIC, and aren't uncommon either. However, this being an 8 bit CPU and all, one would expect the compiler to promote only when it's needed, and certainly not when the result is being evaluated for zero, and certainly not when the number in question is already a boolean which you can test directly (a bit). Defaulting constants to 8 bits is stupid too - if I want it truncated to 8 bits, I'll cast it or it will get assigned to an 8 bit variable anyway. There are next to no cases where I see a need for constants to default to 8 bits. -- Hector Martin (hector@marcansoft.com) Public Key: http://www.marcansoft.com/marcan.asc -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist