On Wed, 13 Mar 1996, Ross Lyle wrote: > I am contemplating using an extra large lookup table, say 512 or 1024 bytes. > Can this be done? I am currently using 0 - 255 byte lookup table to "linearize" > an A to D input and would like the extra resolution of 9 or 10 bits. I'm using > a 16C74 part, and (at this point anyway) have the memory. Sure, you just need to extend the usual jump table logic a little: GotoF macro table, rLow, rHigh movlw low(table) addwf rLow, F movlw high(table) btfsc STATUS, C addlw 1 addwf rHigh, W movwf PCLATH movf r, W movwf PCL endm Caveats: I added the rHigh argument and its addwf just now, so that part is untested. But the rest of it was cut'n'pasted from working code. If you want more than 8 bits out you'll need to cope with that on your own - not too hard, just scale the index before you use this, and reserve the whole of the "other" ROM page for the table. (don't forget to reset the highest (used) bit in PCLATH before you return!)