Jens M. Guessregen / Mailinglists wrote: > Stack? Is there a stack in a 16F877A? ahem, *any* CPU has a stack... if it allows for subroutine calls and/or interrupts :) > Anyway, the code for the ISR is big, and it is not the ISR, which is > hanging. What could happen, is that, if Main code has already used 8 slots of Stack (the maximum), an interrupt coming in that moment, could cause a Stack overflow, and maybe make the main code jump to nowhere -- Ciao, Dario -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist