I'm a bit surprised you're getting any interrupts tripped at all because I don't see anything that actually enables them. Well, I do see the setting of PIE1 and that might do it but with DT-INTS you usually do
Code:
@ INT_ENABLE TMR1_INT
@ INT_ENABLE AD_INT
Is your voltage divider connected to AN0?

Which chip are you using?

/Henrik.