> Does anyone have any recommendations or tutorials for relocatable code. This > is my 1st assembly program and would very much like to do it the "proper" > way. nice-n-clean! I use a bunch of macros to automate page switching when calling or jumping to external modules. Check out the GCALL, GJUMP, and related macros in STD.INS.ASPIC at http://www.embedinc.com/pic. Check out the HAL project for a complete example of a project with multiple modules and multiple pages. ******************************************************************** Olin Lathrop, embedded systems consultant in Littleton Massachusetts (978) 742-9014, olin@embedinc.com, http://www.embedinc.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.