Hi All, Using uVision simulator and Keil arm or GNU compiler, the "else" instruction never gets xcuted. Using MSVC++ it does get xcuted. Anyone know why?? puzzleing. Thanks ---------------------------- int main (void){ unsigned int i=0,result=0; for (i=0;i<5;i++){ if (i>3) result=i*10; else result=i*5; } return(1); }//main --------------------------------
View all questions in Keil forum