On 4/13/06, Steven Howes wrote: > > E2read > > bsf STATUS,RP0 > > bsf EECON1,RD > > bcf STATUS,RP0 > > movf EEDATA,W > > return >From datasheet: BSF STATUS,RP0 ;Bank 1 MOVLW CONFIG_ADDR ; MOVWF EEADR ;Address to read BSF EECON1,RD ;EE Read MOVF EEDAT,W ;Move data to W Read the datasheet and you will know that EEADR, EEDAT and EECON1 are all in Bank 1. Regards, Xiaofan -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist