>All code is within page 0 (< 2048 bytes). In your example you have no test to see that the parameter is <= max table size, and you have no means of setting PCLATH to the "high Table" inside the subroutine. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu