16F684 & Interrupt Problems
Jan-Erik Soderholm email (remove spam text)
Sean Schouten wrote :
> I think that the problem is down to me doing something
> absurdly wrong in my assembler code,...
I think so to.
>From "START" You *CALL* a sub called INITIALIZE, but you
use GOTO instead of RETURN to get back from the sub...
And from MAIN you *CALL* another sub called "FLASHLED",
but you never RETURN from it, so your code will
just run on into "START" from the sub...
And from another point in your code you GOTO FLASHLED.
There I stopped reading... :-)
For some reason, your DELAY1S sub uses RETURN,
so you seems to at least know about it...
See also: massmind.org/techref/microchip/ints.htm?key=interrupt