the keil can detect the interrupt ,but can't run into the interrupt function ! thank you ! //my program ! use DS89C420 MICRO CHIP! #include "reg420.h" unsigned int count; void ini_INT12(void); main() { ini_INT12(); while(1); } void ini_INT12(void) { EX2 =1 ; EA = 1; } void INT12(void) interrupt 12 using 2 { P3 = 0; //can't run to here ! } thank you !
thank you all way ! I am not confusing external interrupts 2 and 3 and not confusing interrupts enable and interrupts flags ! I type the EX2 for wrong! good days! i think you are an expert about keil c!