> I made a program that is essentially a clock and I use a Pic16F84a. aaaaaaaargh > At fixed intervals of time the program call one of tree > possible messages from a table made with the "DT" directive. > Al goes well with the fist two messages but when third message is > called the program is resetted and count begins again from zero. > If I in the third message I use two character less all run well. > All messages have a maximum of 5 characters and total program memory > used is 253 words. > > What could be wrong? Are you aware of the role of PCLATH when you write (probably add) to PCL? An easy way out for now: forget this chip and go for an 18F. But you might still want to know what is going on? If so read the datasheet carefully, the section about PCLATH/PCL. Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist