> > The problem is with the lookup table (128 values long) at the end of the > > program the program does not run correctly - it is as if it is missing >part > > of the table (the last part?). > >Betcha the table is crossing a 256 instruction boundary and you only add >the >index into PCL without updating PCLATH. For information, go here: http://www.piclist.com/techref/microchip/tables.htm --Andrew _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads