Sorry Jan-Eric > There are no "page selection bits" in the > STATUS reg. I almost bank my pages - lol I will save the PCLACH register as well! > What is "#page_1" ?? It is a bad practice....a Macro Setting PCLACH, 3 #page_0 macro ;For program memory paging bcf PCLATH,3 endm #page_1 macro ;For program memory paging bsf PCLATH,3 endm > What does "don't function correctly" mean ??? Running around somewhere in Page1 > > (THIS IS NOT RIGHT, BECAUSE MY MAIN PROGRAM > > MIGHT BE IN PAGE1 > IN THE EVENT OF A INTERRUPT TRIGGER) > > Which shouldn't matter, the full > return address is on the stack, > and your code will return to the right > spot anyway. It will return to the right spot allright, but the Page Select Bits might not be correctly set for the next call or goto. Francois -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist