Thank you too all of you for your help. I've got the program running in software. Using a main lookup table, which jumps to 1 of 32 small code blocks that simply change pclath to the correct page, and jump to another 32 entry lookup table. This acheives the 1024 values correctly. Now for some...