Drew Vassallo wrote: > > > clrf STATUS ; return to page 0 > > return > > I'm not a big fan of using "clrf STATUS" just to select page 0. Try using > "bcf STATUS, RP0" as a more direct instruction. > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu It can't hurt in this case as long as the IRP bit was not specifically set - just the Z bit will be set = 1. You will need... bcf STATUS,RP1 bcf STATUS,RP0 becasue EECON1 & EECON2 are in BANK 3 > "After a write sequence has been initiated, clearing the > WREN bit will not affect this write cycle. The WR bit will > be inhibited from being set unless the WREN bit is set." Fair enough, I missed that point. -- Best regards Tony mICro's http://www.picnpoke.com mailto:sales@picnpoke.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu