John Payson, Are you sure this works? I've tried it with CC5X and haven't sucess. uns8 source; MOVLW (0b.1101.1001); // this value is just for test MOVWF (source); BTFSC (source.0); XORLW (0x41); // 0100.0001 BTFSC (source.6); XORLW (0x41); // 0100.0001 BTFSC (source.1); XORLW (0x22); // 0010.0001 BTFSC (source.5); XORLW (0x22); // 0010.0001 BTFSC (source.2); XORLW (0x14); // 0001.0100 BTFSC (source.4); XORLW (0x14); // 0001.0100 It is very ingenious, but seens to have a bug somewhere. Regards, Brusque ___________________________________________________________________________ | | || |\| | || || |\|\ Edson Brusque :-^= (brusque@flynet.com.br) | | || ||| | || || |||| Musician, Tech Consultant, Programmer, Developer | |_||_||| |_||_||_|||| Blumenau / SC / Brazil / Earth / Solar Syst / Milk... | \_\\_\|| \_\\_\\_\||| Giro In'Italia homepage: www.flynet.com.br/giro | | | | | | | || C.I.Tronics Lighting Designers: www.citronics.com.br |__|__|__|__|__|__|__||----------------- ICQ# 15937748 --------------------- \__\__\__\__\__\__\__\| The SoundFont Users Group Mailing List is at ----------------------| http://www.geocities.com/SiliconValley/Port/6619/ ----------------------------------------------------------------------------