for a 4MHZ clock, most command will be executed in *about* 4us but can be tested/measure easilly in a loop.
loop:
High OneUnusedPin
' code here
Low OneUnusedPin
goto loop
place a scope/frequency meter on OneUnusedPin and now you have a good idea of the execution time.
regards




Bookmarks