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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/23/03 17:48
Read: times


 
#37006 - RE: volatile keyword
I think that much depends upon the compiler and the approach of the optimizer once it is invoked.

It is my opinion that the code could, and possibly should, be optimized out by a good compiler. I don't know what Keil does (I have it somewhere but never have used it), but I'll test it on IAR and Tasking to see what happens.

List of 18 messages in thread
TopicAuthorDate
volatile keyword            01/01/70 00:00      
RE: volatile keyword            01/01/70 00:00      
RE: volatile keyword            01/01/70 00:00      
RE: volatile keyword            01/01/70 00:00      
RE: volatile keyword            01/01/70 00:00      
RE: volatile keyword            01/01/70 00:00      
RE: volatile keyword            01/01/70 00:00      
RE: volatile keyword            01/01/70 00:00      
RE: volatile keyword            01/01/70 00:00      
RE: volatile keyword            01/01/70 00:00      
RE: volatile keyword            01/01/70 00:00      
RE: volatile keyword            01/01/70 00:00      
RE: volatile keyword            01/01/70 00:00      
RE: volatile keyword            01/01/70 00:00      
RE: volatile keyword            01/01/70 00:00      
RE: volatile keyword            01/01/70 00:00      
RE: volatile keyword            01/01/70 00:00      
volatile keyword and not-so-optimizer            01/01/70 00:00      

Back to Subject List