dr. Imre Bartfai wrote: > > Data sheet states: "The FSR is a 5-bit wide register." (p. 18). However, > FSR<6:5> are bank select bits. On p. 13 is shown, that FSR<7> contains 1 > after any kind of reset. Such way, the puzzle can be solved. I allow, it > is not very simple (I met also the same pitfall). Hi Imre, yep it's nice to know what the register contains after a reset, most registers have a particular value after reset. What annoyed me was loading zero into the register and then it didn't contain zero. Bits that CAN'T be cleared really should be mentioned in the datasheet. The actual code was written to work on a number of different PICs and I shouldn't have to hardware debug each one to see if its datasheet is correct or not. :o) -Roman -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body