> Are you doing another pagesel for the next call, that happens > to go to the lower page? If not this will send your code into > hyperspace as PCLATH is NOT restored on the subroutine return. Ok, hopefully I have understood: (on page 0) . . . Pagesel code1 ; set PCLATH to page of code1) Call code1 Pagesel $ ; reset PCLATH to here . . . (on page 1) Code1 . . . Return Is this correct to do? Or should I do like this: (on page 0) . . code0 Pagesel code1 ; set PCLATH to page of code1) Call code1 . . . (on page 1) Code1 . . . Pagesel code0 ; set PCLATH to page of code0) Return Best Jens -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist