> Try just putting the subroutine closer to the call to see if this works. Not closer to the call but in the first (256 instruction) half of a 512 instruction page (the call sets bit 8 to 0, no way around that). This is a 12-bit-core feature that does not apply to 14-bit-core chips like the f84 and f877. It also a pain in the as for a compiler writer. The only way to call a subroutine anywhere in memory is to have a vector (a goto) in a lower half of a page and call that vector. Wouter -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.