At 08:19 AM 10/18/2004 -0400, you wrote: >Why wouldn't the compiler just generate: > >movlw 3 >xorwf foo,w >skpz >goto endif Hitech C emits MOVF foo, W XORLW 0x3 BTFSS 0x3, 0x2 Whether you write (foo == 3) or (3 == foo) Best regards, Spehro Pefhany --"it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com _______________________________________________ http://www.piclist.com View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist