Yet another "second thought"... If I am ORG'ing the table subroutine on an even 256 byte boundary, there is realy no need for this 256-byte-page-boundary checking, right ? (PCLATH might have to be loaded anyway, of course). I'v done some experimenting (12F629) and it seems as the linker can happly handle a mix of relocatable and ORG'ed code. You might get a minor area just before the ORG where the linker can't stuff anything, but by using a larger number of smaller modules, this effect can be minimized, right ? Jan-Erik. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads