I am using atmel 89c51 micro controller and i am handling external interrupts
in Keil but it doesn't getting well. some one please provide me the Keil code for handling external interrupts. the code i am trying is:
void isr0 () interrupt 0
{
// some code here
}
void main()
{
EA = 1;
EX0 =1;
while(1)
{
}
}
in Keil but it doesn't getting well. some one please provide me the Keil code for handling external interrupts. the code i am trying is:
void isr0 () interrupt 0
{
// some code here
}
void main()
{
EA = 1;
EX0 =1;
while(1)
{
}
}