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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/08/08 11:24
Read: times


 
#158056 - The reason why you must not use C
Responding to: ???'s previous message
Per Westermark said:
You don't make a 1 minute delay loop in C without using a timer. You don't make any delay loops just relying on C.

See: http://www.8052.com/forum/read.phtml?id=153204
And: http://www.8052.com/forum/read.phtml?id=149030

... changing compiler version or compiler options can greatly change that.

Even without any change in compiler version or options, an apparently unrelated change in the source text could affect the loop timing; eg, the compiler may change its choice of which variables to optimise into registers...

List of 10 messages in thread
TopicAuthorDate
replacing timer by delay loop            01/01/70 00:00      
   Never just C.            01/01/70 00:00      
      The reason why you must not use C            01/01/70 00:00      
         Possible but costly            01/01/70 00:00      
   Re            01/01/70 00:00      
      Not black-or-white            01/01/70 00:00      
         still impossible            01/01/70 00:00      
            Still not impossible            01/01/70 00:00      
               Hai Per westermark            01/01/70 00:00      
                  School work?            01/01/70 00:00      

Back to Subject List