> dbankif EEDATA > getf Reg3 ; load high byte > movwf EEDATA ; into the data register I'm not familiar with these macros, but is this correct? This looks like it would set the bank for EEDATA, but then get Reg3. So if Reg3 is not in the same bank as EEDATA, it would get the wrong data. On the other hand, I'm not sure what getf is! Just a thought. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads