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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/18/03 15:27
Read: times


 
#39364 - RE: calculating a delay ms and us
Responding to: ???'s previous message
For one thing you are making delay routines in C which is unreliable since any update of the compiler may change your actual code.
Also, you do not relize that your for loop in its most effective conversion to machine code will take 2 instruction cycles (it seems that your compiler makes code that takes 6 instruction cycles, which for this construct seems reasonable).

Erik

List of 10 messages in thread
TopicAuthorDate
calculating a delay ms and us            01/01/70 00:00      
   RE: calculating a delay ms and us            01/01/70 00:00      
      RE: calculating a delay ms and us            01/01/70 00:00      
         RE: calculating a delay ms and us            01/01/70 00:00      
         RE: calculating a delay ms and us            01/01/70 00:00      
            RE: calculating a delay ms and us            01/01/70 00:00      
         RE: calculating a delay ms and us            01/01/70 00:00      
            RE: calculating a delay ms and us            01/01/70 00:00      
   RE: calculating a delay ... addendum            01/01/70 00:00      
      RE: calculating a delay ... addendum            01/01/70 00:00      

Back to Subject List