Hi there,
I am having an asm interrupt routine that is caused by a timer0 overflow every milisecond. Now I have several variables(word) which should be incremented, decrememted or reset within this loop. I find it difficult to do so with asm. So what I need to know is that can I call (through GOSUB) a picbasic routine from within my asm ISR. Is it at all possible ? How the variables should be defined? Should they be all in bankA or does PBP handles bank switching even while in asm ISR? If it does then do I have to take care of RAM banks when a gosub returns into the ISR again? Please help.
Bookmarks