piclist 2005\09\13\070858a >
Thread: 16F684 & Interrupt Problems
massmind.org/techref/microchip/ints.htm?key=interrupt
face picon face BY : 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...

Jan-Erik.



<9053318.1126609738134.JavaMail.tomcat@pne-ps3-sn1> 7bit

See also: massmind.org/techref/microchip/ints.htm?key=interrupt

month overview.

new search...