At 09:28 AM 6/26/02 +0200, Stef Mientki wrote: >hello All, > >When executing a GOTO instruction, the high order part of the program >counter is fetched from PCLATCH. You wrote the operative word above. That word is: "fetched". This is a one way street. A change in the program counter does NOT change PCLATH. So the answers to your questions are: >But does PCLATCH always hold the high order part of the program counter ?? No. The program counter can (does) change but that does NOT affect PCLATH. >So if during normal execution the program counter is incremented, is >PCLATCH also incremented ?? Also NO. dwayne -- Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax Celebrating 18 years of Engineering Innovation (1984 - 2002) .-. .-. .-. .-. .-. .-. .-. .-. .-. .- `-' `-' `-' `-' `-' `-' `-' `-' `-' Do NOT send unsolicited commercial email to this email address. This message neither grants consent to receive unsolicited commercial email nor is intended to solicit commercial email. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads