• casal instruction is slower than ldxr/stlxr in glibc atomic_compare_exhchange
    I find the cas instruction is more slower than ldxr/stlxr, i have test it with __atomic_compare_exchange time_cnt_old = get_cnt(); for (k = 0 ; k < LOOP_CNT; k++) { countold=count; count++;...
  • casal instruction is slower than ldxr/stlxr in glibc atomic_compare_exhchange
    I find the cas instruction is more slower than ldxr/stlxr, i have test it with __atomic_compare_exchange time_cnt_old = get_cnt(); for (k = 0 ; k < LOOP_CNT; k++) { countold=count; count++;...
  • Infinite loops
    Hi, How can we overcome infinite loops in C programming using keil compiler............ can anyone plz answer my question.... Actually i want to know 1)what are the adverse effects a program leads to...
  • Infinite Loop
    I am using the following code to blink a LED 10 times and then stop. But it goes on blinking even after 10 counts. please let me know where i have gone wrong in the code #include <stdio.h> #include...
  • Infinite loop
    Hai all, My program goes to infinite loop even though there is no while(1); void main() { uchar8_t ISMCheckResult; CKCON=0x04; DR=1; delay(50000);//Power on delay for testing purpose enableLatch...