well it looks as if I have found a workaround, it seems as if the first line after the
@ INT_ENABLE CMP_INT is being ignored furthermore placing Z = 0 at any position from start to the @ INT_ENABLE CMP_INT will also cause a problem so I have to place a dummy line after the enable and everything works as it should do....... or so it appears on the surface to.
Code:
@ INT_ENABLE CMP_INT
Z = 0 'dummy line ignored
Z = 0
Waiting:
if Z = 0 then Waiting
I have only one variable in the example. I do not think I can face it but I have a feeling that I may have to check the stability of all my variables before and after an interrupt implementation .
I have just pulled the whole house down to find a needle ......... but for the want of that needle.... I am cold wet and have nothing to cook on!!!
think I will go down the road and post a christmas card to myself
Bookmarks