You need to do a BCF EECON1,CFGS before the EEPROM read. That bit has no defined state on reset, apparently the sim has it off by default (or perhaps it simply doesn't simulate that feature). Jason Harper -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist