Ok... As it turns out, I didn't need to sleep on this one. The proper code is: MOVF BYTE_A,W ANDWF BYTE_B,W XORWF BYTE_C,W ;Bit_C of BYTE_C must not change between ;this instruction and the XORWF BYTE_C, ;below. The other bits of BYTE_C, ;however, are free to change. ANDLW 00000001B ;Assumes that Bit_A, Bit_B and Bit_C are ;the LSBs of their respective bytes. XORWF BYTE_C -Andy === Andrew Warren - fastfwd@ix.netcom.com === Fast Forward Engineering - Vista, California === http://www.geocities.com/SiliconValley/2499 === For PICLIST help (including "unsubscribe" instructions), === put the single word "help" in the body of a message and === send it to: listserv@mitvma.mit.edu