I use this macro to forget cross-pages calls. Runs ok with Microchip's boot loader in order to re-use serial routines located in page 4. ;----- START CODE ------ ; save_w is a RAM location to save W register. Call_page MACRO adress_new, save_w local a = high $ local b = high adress_new if a == b call adress_new else movwf save_w pagesel adress_new movf save_w,w call adress_new movwf save_w pagesel $ movf save_w,w endif endm ;----- END CODE ------ Regards, Javier Martmnez. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body