Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/28/01 10:00
Read: times


 
#11994 - RE: Delay code??
You need a table of execution times. Once you know how much time it takes to execute each instruction in your program, you only have to add them. Take into account the number of times they are repeated because of the loops.

If you prefer a faster alternative, simply simulate the program. There are many simulators available, some of them free. Simulators give you the elapsed time. Set a breakpoint at the end of your code and start the execution at the beginning. The delay is the elapsed time.

But remember, in many applications SW delays are not the best option!.


List of 5 messages in thread
TopicAuthorDate
Delay code??            01/01/70 00:00      
RE: Delay code??            01/01/70 00:00      
RE: Delay code??            01/01/70 00:00      
RE: Delay code??            01/01/70 00:00      
RE: Delay code??            01/01/70 00:00      

Back to Subject List