> How do I change the code below to a general call routine so that any table > name from any page can be called? If it's not possible, ... Yes. Check out my LOOKOFS subroutine. It is used in the HAL project. The source code will be at SOURCE/PIC/LOOKOFS.INS.ASPIC after you install the appropriate software releases at http://www.embedinc.com/pic/dload.htm. I have other table lookup routines too, but I don't think they are currently in any of the available software releases. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads