I have developed a PBP code to be used on an embedded sms sender...

My requirement is when my PIC (SMS) is interrupted by a centralized controlling PIC it should execute

the necessary routines and send sms via a T10 phone.... As far as sending sms is concerned the code

works ok...But the interrupt mechanism is not working properly.

I have some subroutines to attend while inside the ISR..I simulated the code and found that upto the

first GOSUB command it works properly and then it reacts as though a new interrupt has occured and it

executes ISR from the begining...

Please be kind enough to help me

I have herewith attached my code

thanks
aruran