> To properly increment a 16 bit number, you have to use the "incf" and > "btfsc" as I outlined in the book. > > incf Count > btfsc STATUS, Z > incf Count+1 or to increment incf CountHi incfsz CountLow decf CountHi and to decrement decf CountHi comf CountLo incfsz CountLo incf CountHi comf CountLo They take more space but don't use W which is quite useful for using in a macro. Steve. ====================================================== Very funny Scotty. Now beam down my clothes. ====================================================== Steve Baldwin Electronic Product Design TLA Microsystems Ltd Microcontroller Specialists PO Box 15-680 http://tla.co.nz New Lynn, Auckland ph +64 9 820-2221 New Zealand fax +64 9 820-1929 ======================================================