Please ignore this question. Sorry. -----Original Message----- From: Richards, Justin P=20 Sent: Friday, 21 February 2003 2:48 PM To: PICLIST@MITVMA.MIT.EDU Subject: [PIC]: PCL & PCLATH Hello, I am using MPLAB 6.12 and a 16f628. I got bitten by the 256 byte boundary bug. So I relocated my RETLW = table to the last 256 bytes ie=20 1793 to 2048 When my Prog makes a call to 1793 PCL =3D 0 and PCLATH also equals 0. = If I execute the next ADDWF PCL,f it jumps back to the start of the = program. If I manual set PCLATH to 7 in the SIM all goes as expected. Why does PCLATH not change on the screen when it is another boundary. Is = MPLAB going astray?=20 Justin -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads