On Dec 2, 2005, at 3:39 AM, PY2NI_TERRA wrote: > using CC5X your fragment of code works as it should, no workaround > required, probably your compiler is pulling your leg somehow. > x86 gcc behaves as described in the original post ("False" case.) See Gerhard's excellent explanation; presumably cc5x uses 8bits for "int", which is probably technically a standard violation but (IMO) permissible or even useful for an embedded 8bit processor... BillW -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist