On Tue, 23 Nov 1999 15:46:45 -0500 "Thomas C. Sefranek" writes: > Unfortunately, the page boundry on a 16C73 is at 07FFh. > My code only goes to 012Dh. > The lookup table is only 256 values. > I was so hopefull! Your problem is almost certainly the table. There are two situations where "paging" of the program memory is an issue. For CALL or GOTO, the pages are 800h instructions long. Most short programs don't need to be concerned with them. For writing to PCL, the pages are only 100h instructions long. So your 256-value table definitely crosses one of those pages. And the program will crash when the index into the table gets large enough if your table-access code doesn't set up PCLATH properly. ___________________________________________________________________ Get the Internet just the way you want it. Free software, free e-mail, and free Internet access for a month! Try Juno Web: http://dl.www.juno.com/dynoget/tagj.