Is there any reason why a PIC16F872 would have problems addressing progra= m=20 memory locations 0x400 and above? It has 2k words of program memory -- a range of addresses from 0x000 to 0= x7FF,=20 but I'm having problems with *any* code I've tried above this boundary. The code seems to go "wild" as though it cannot address anything this hig= h. =20 I've tried shuffling routines around to move different ones above the 0x4= 00=20 boundary, and it appears to croak on anything that's up there. BUT it wo= rks=20 fine under MPLAB sim. I've also tried another PIC to verify, and that=20 produces the exact same results, so I'll eliminate device problems for no= w. Been looking thru the datasheets, errata sheets, etc but haven't come up = with=20 anything. Cheers, -Neil. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads