To expand on Erik's comment, an oscilloscope will tell you everything you need. Make a Pin high, then immediately make it low, measure the pulse width and record the value. Now place anything you want in between the two instructions, measure it, subtract the original pulse width and divide it by the colock frequency and you have your answer for how long it takes to execute that instruction(s).
If you don't have an oscilloscope, you can use a counter to measure the pulse width.
Comments
If you don't have an oscilloscope, you can use a counter to measure the pulse width.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Post Edited (Paul Baker) : 1/28/2009 11:34:14 PM GMT
http://forums.parallax.com/forums/default.aspx?f=25&m=317689&g=318421#m318421
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve