Hi,
That thread contains much useful background information, but unfortunately many of the original "numbers" were made almost obsolete with the introduction of the M2 family, which runs significantly
slower (at 4 MHz) than the previous chips. I've posted several versions of a program which can measure the execution times of almost all PICaxe instructions on a Real Chip (not in the simulator), the most recent version being
HERE.
I keep my own Speadsheet of typical measurements, but there are so many variations that it's probably impossible to create a "General Purpose" Timing List. For example, the 14/20M2 chips can be significantly slower than the 08M2 (and possibly the 18M2) but faster than the X2 family (at the same clock speed). Then there is an enormous number of available commands, particularly bearing in mind that instructions such as
b1 = b2 + 1 ,
b1 = b1 + 1 and
b1 = 1 + b1 all have significantly different execution times.
But there is almost no difference between
b1 = b2 + b3 and
w1 = w2 + w3 or between
b1 = b1 + 1 and
INC b1! Then, even when you understand the basic structure of the commands there can be some "surprises", for example SWAP , RETURN and PWMDUTY can take far longer than might be expected, whilst RANDOM is remarkably quick.
Cheers, Alan.