4/9/03 4:09:18 AM, Michael Rigby-Jones wrote: >Address 8Ah is the PCLATH register. This contains the upper 5 bits of the >program counter. You may have to use PCLATH if your program size exceeds Not quite correct. PCLATH contains the value that gets loaded into the upper 5 bits of the program counter whenever you do a goto, a call, or a write to PCL. PCLATH is changed *only* by writing into it. If you read it, you get back the last thing you put into it, which may not in fact be the upper 5 bits of the program counter. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu