Hi,

DISABLE before the interrupt stubb could be the first good idea ...

a look at OPTION_REG.6 could be a good idea too ( value depends on your zero crossing method ...)


by the way , processor ?= 16F84a ???

Alain