> > I have a problem. > > I am using a PIC16F877 and a timer triggered IRQ service routine. > > > could you try placing the ISR code directly into place, > rather than "calling" it? > Could it be a stack overflow?... Stack? Is there a stack in a 16F877A? Anyway, the code for the ISR is big, and it is not the ISR, which is hanging. There is a small routine to have a LED blinking with the ISR, and this LED is always blinking. Another LED was put inside the main, and that one is stopping blinking. Best Jens -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist