AnsweredAssumed Answered

machine cycles - for instruction

Question asked by marcelo on Jul 16, 2015
Latest reply on Jul 20, 2015 by luca
hi there!

i´m using the Cosmic c compiler and STM8S microcontroller.

i can´t find this information:

how many machine cylces this function takes?

for(conta=0;conta<10;conta++);

it´s seem to me that the "for" takes 6 cycles in simulator, but i want to be sure about that.

sincerely;

Outcomes