> Are you always branching to wrend2 or wrend? Is that a typo or > are you trying to go somewhere else? > > Bill > > wrend btfsc eecon1,wr ;wait for WR bit to clear > > bra wrend2 Sorry, that was my fault. I cut it from something I'm working on and foolishly tidied it up. The original label was indeed wrend2. If I'd taken the other EEPROM routine we'd be sweet -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads