> I didn't see anything in the thread indicating the problem had been solved. Maybe I missed it. I wrote: >> he solved it elsewhere in his code already So nope, it was not solved before. Anyway, I did not intend to confuse anybody, just wanted to yell that the instruction is non-existent in that chip so another workaround needed. Cheers, Tamas On Wed, May 14, 2008 at 4:15 PM, Mark Scoville wrote: > > OP uses 12F629 where there is no instruction or such pseudo one, but he > > solved it elsewhere in his code already, so he will be just fine > > I think :-) > > > > Tamas > > I didn't see anything in the thread indicating the problem had been solved. > Maybe I missed it. > > Didn't realize a 12F was involved - my bad... > > However, regardless of whether a dcfsNZ (Dec - Skip NOT Zero) instruction > is > available, the original *logic* still looks flawed... the decfsz (Dec - > Skip > if Zero) looks fishy. > > bcf INTCON, T0IF ; Clear the interrupt flag > decfsz bit_count, F ; looks fishy to me > incf state, F ; All the bits have been set, advance to > > -- Mark > > > > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- Rudonix DoubleSaver http://www.rudonix.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist