Michael Rigby-Jones wrote : > incfsz count,f ; increment LSB > incf count+1,f ; increment MSB if LSB is not zero What about : infsnz count,f ; increment LSB incf count+1,f ; increment MSB if LSB *is* zero If I'm not wrong, this will leave the correct value in [count, count+1] directly. Might only apply to the 18-series, but I saw no such constraint in your post... Best Regards, Jan-Erik. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist