On 3/12/07, Vitaliy wrote: > > IMO, to a C programmer, that would still be easier than learning assembly. > And you could also say: > > i &= 0xBF // 0xBF = 0b1011 1111 > > instead of the convoluted (and slower) > > i &= ~(1<<6) Why would that be slower? That math should get done at compile time. Alex -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist