I write a delay function:
void delay(a){
for (int i=a;i>0;i--)
for (int j=0; j<200;j++)
}
But when I compiled this code by sdcc and keil, and run in 8051 chip. The result is that the delay function compiled by sdcc runs much more slower than the function compiled by keil.
Can someone tell me why...