??? 04/06/09 16:11 Read: times |
#164404 - instruction execution cycle/time in C language Responding to: ???'s previous message |
Benny Goh said:
Unlike assembly language, i dont know the way to count the instruction execution cycle/time in C language. That's because 'C' is not like assembly! In assembly, you get exactly one processor instruction per source instruction; In 'C' (or any other High-Level Language, for that matter) you have absolutely no guarantee whatsoever as to how the compiler might choose to implement the source code! See: http://www.8052.com/forum/read/162556 |