Olin Lathrop wrote: > Certainly. A jumping lookup table for just a data (bunch of GOTO > instructions) is not a good idea. At the very least on older parts you > can use a RETLW lookup table. On many newer flash parts you can use > table read instructions to read program memory directly. I believe > this capability is standard on all 16F and 30F parts. Oops. I meant to say it is standard on all **18**F parts. Some 16F parts do have this capability, but some do not. ****************************************************************** Embed Inc, Littleton Massachusetts, (978) 742-9014. #1 PIC consultant in 2004 program year. http://www.embedinc.com/products -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist