Thanks Dwayne and Dario, Finally I choose the safest option instead of the incfsz "correct" behaviour, so looking at the top most bit to change and works great. Thanks again Tamas On Feb 16, 2008 8:26 PM, Dwayne Reid wrote: > At 10:04 AM 2/16/2008, Tamas Rudnai wrote: > >Hi All, > > > >I could not get any information on this: > > > >I have a 10F200, and when decreasing FSR with decfsz, it could not > identify > >that it reached the 0, az the bits <7-5> is always 1... > >Same with decf, Z would not go high. > > This is expected behavior. As you mention, bits 7..5 always read as > "1". Datasheet DS41239A page 23. > > > >When I use incfsz, it seems that it works perfectly - I suppose because > >before the instruction the value was 0xFF . . . > > Also expected behavior, for exactly the reason you mention. > > dwayne > > -- > Dwayne Reid > Trinity Electronics Systems Ltd Edmonton, AB, CANADA > (780) 489-3199 voice (780) 487-6397 fax > www.trinity-electronics.com > Custom Electronics Design and Manufacturing > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist