Quoting Vitaliy : .... > instead of the convoluted (and slower) > > i &= ~(1<<6) > Actually, I think most compilers would convert this to 'i &= 0b11011111', as it is a compile time constant. David -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist