Tamas Rudnai wrote: > 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. > > When I use incfsz, it seems that it works perfectly - I suppose because > before the instruction the value was 0xFF, and does not matter that it turns > to 0xE0 instead of 0x00. Is that how it should work, can I count on it, or > just forget and do some other way to check the end of the buffer? Am not sure in your case, but I often used some other code for that check about FSR. If the upper bits are unimplemented, then I'd not trust them. -- Ciao, Dario -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist