Friends, Is there any way to calculate the time of execution for a piece of 8051 Assembly Code ?.Say for example I am having a 8051 delay loop in assembly code.I just want to find out how much time is elapsed in executing the delay loop.I searched in Google, but in vain. Thanking You. Regards, Vamanan Kutty
"The assembly code consists of Loop inside a Loop inside a Loop" So just do the sums for the inner loop, then insert the result into the calculation for the outer loop! Don't forget that the timing of DJNZ may be different depending on whether it jumps or not... Or just run it in the simulator!
http://www.keil.com/support/man/docs/uv3/uv3_cm_perfanalyze.htm