Does anyone have a cross-reference table for PBP commands to the # of clock cycles needed to execute that command?
Would be useful in timing critical situations to know which commands to use / stay away from.
Thanks!
bcf
Printable View
Does anyone have a cross-reference table for PBP commands to the # of clock cycles needed to execute that command?
Would be useful in timing critical situations to know which commands to use / stay away from.
Thanks!
bcf
none exist and there's a good reason for. How many different way you can write and IF THEN ELSE? FOR TO NEXT? WHile/WEND and so on?
you can use different methos to measure it, toggle a led before and after a statement block and measure it with a scope.
Start a timer before, stop it at the end, calculate the amount of tick then send it over serial to your pc or on a lcd.
Use MPLAB stopwatch
list is long...
EDIT: there's something to play with... say thanks to Darrel
http://www.picbasic.co.uk/forum/show...ighlight=cycle