Lembit Soobik wrote : > so I conclude that changing the table > has changed the program. Check the MAP file from MPLINK. (And make sure that the table is in a separate CODE block so it can be located in the MAP file.) Where is the table ? Is it close to some "real" code ? That might be the code that doesn't end/return correctly and let the processor "run" right out into the table. If the table would be executed as code, (with the single line) I guess it would be a MOVF and an ADDFWC (with result stored back into WREG)... Regards, Jan-Erik. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist