I have set all the configuration of the capture mode operation such as T2CON and IE. When running on debug mode error will occur when run the interrupt routine. The error message is" *** error 65: access violation at C:0x002B : no 'execute/read' permission". The program code of the routine is : void T2_int(void)interrupt 6 { } would you mind to tell me what is the error on the program.