On Mon, 03 Apr 2006 13:32:50 -0700, Neil wrote: >I'm using PAGESEL (on a 16F877A) as follows... > > PAGESEL RemoteRoutine > CALL RemoteRoutine > PAGESEL 0 ; Back to page 0 > >Is there a keyword or symbol that I can use instead of "0" in the third >line above to tell it to PAGESEL wherever that line resides? >I'm guessing I can use this... > > PAGESEL RemoteRoutine > CALL RemoteRoutine >Here: PAGESEL Here ; Back to this page > >But perhaps there's a keyword that I can use instead? > There's no need to create a label in this case. I've always used 'PAGESEL $' to restore PCLATH to the current code page. 'PAGESEL 0' will only work if the calling code is known to be located in code page 0. Regards, Bob -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist