I have no idea why you think it wont work...because I have already tested it

My defines are declared in the .INC file and not in the program.
The interrupts are disabled here:


ADCON1 = %00001111
CMCON = %00000111
CVRCON = 0
INTCON=%10100001
INTCON2=%01110101
INTCON3=%11000011
T0CON=%00000000

ok...i may have defined a few TRIS commands twice...but it still works