> >What has me head-scratching is the address of 1C compiled > >for EECON1 with WREN > > EECON1 is in bank 1 (9Ch) Yes, I know. So what do you make of these two lines, compiled with MPLAB 5.30.00, using its 16F628.inc file 005D 151C bsf 0x1C,0x2 ;eecon1,wren ........ 0062 149C bsf 0x1C,0x1 ;eecon1,wr Why does the eecon1 in line 5D end up $80 different from the eecon1 in line 62 ? If anyone has a minute to cut/paste my code from the original post and compile it I'd like to know if they get a different result > The datasheet is just plain wrong from memory! Then so is their "improved" web shite. If, sorry, when I get this going I shall drop them a(nother) line about corrections, much good that it does > Taken from a recent 'F628 project Ta ever so -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body