Jan-Erik Soderholm wrote: > Probably easier on PIC18-series > then on the > "lower" series since > the PIC18 has an instruction set > that might help. Doesn't PIC 16 also have the DAW instruction and the DC bit? I don't remember since I've never used either. Personally I think they are a waste of silicon. It's not worth burdening every chip with this stuff for the very rare case when it comes in handy. If you are doing BCD, it's hard to argue you care about every last cycle of speed. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist