;from Dmitry Kiryashov ;inc movlw 1 addwf count0,F skpnc addwf count1,F ;... {ed: repeat the last two lines for as wide a counter as is needed} ;dec movlw 1 subwf count0,F skpc subwf count1,F ;... {ed: repeat the last two lines for as wide a counter as is needed}