Whoops! You are right, I left out the IFZERO test when I typed a code sample from memory. Sample correction for one of the IFCARRY pairs: IFCARRY INCF B3 IFZERO INCF B2 For 32 bit, it might just be worth writing a loop with pointers! Ed Todd