It seems as PCLATH/PCLATU isn't set to the correct page. I don't see that you write those registers directly, but on the other hand the docs says that they are set when the PCL is *read*. I supose that to do a "addwf PCL" you have to read the "PCL" first, but it isn't clear if that counts as a "read" and sets the PHLATx regs. Have you tried with setting the PCLATx regs before the "addwf PCL" instruction ? Or is there some other code that should make sure thet PCLATx regs are set correctly ? Jan-Erik. -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics