> Sounds to me like there is an interrupt flag that you are not > clearing before exiting the interrupt routine. Have you > double checked that *all* IE flags are set to 0, and that > only the ones you are servicing in the ISR are set to 1? Have > you ensured that you are setting the IF flag to 0 in your ISR > for all the enabled interrupts? Yes. It is the stack. I removed some calles in the main code, now it is running. But now, my space in page 0 is very small, I need to go to page 1. And there if have the next problem. Using pagesel pgmcode goto pgmcode org 0x0800 pgmcode . . . goto pgmcode Is just hangin the system, nothing is working anymore. My idea is to move most of the main loop to page 1, using page 0 more or less only for the ISR ... Best Jens -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist