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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/08/06 22:50
Read: times


 
#115832 - where is this code?
Responding to: ???'s previous message
Michael Ruoppoli said:
void delay_loop(int useconds)
{
    unsigned int s;
    for (s=0; s<useconds; s++); //where is this code?
}


It has probably been Optimised away by the compiler.

Try the volatile keyword...

http://www.8052.com/forum/read.phtml?id=115188


List of 21 messages in thread
TopicAuthorDate
Linker problem using SDCC            01/01/70 00:00      
   Linker???            01/01/70 00:00      
      Linker!            01/01/70 00:00      
   I doubt SDCC would do that            01/01/70 00:00      
      Ok not the linker?            01/01/70 00:00      
         Sorry forgot to mention that I am using            01/01/70 00:00      
         Compiler & Linker            01/01/70 00:00      
         Nothing linked            01/01/70 00:00      
            SDCC File types            01/01/70 00:00      
            Linker problem            01/01/70 00:00      
               Then what is the problem?            01/01/70 00:00      
                  Simulator only sees the "main" program            01/01/70 00:00      
                     simulator and/or IDE problem?            01/01/70 00:00      
   Maybe this will illustrate ...            01/01/70 00:00      
      BiPOM says            01/01/70 00:00      
         SDCC new release?            01/01/70 00:00      
            Q2            01/01/70 00:00      
               SDCC new Release Q2 -            01/01/70 00:00      
   where is this code?            01/01/70 00:00      
      I used --no-peep SDCC            01/01/70 00:00      
         linking multiple files            01/01/70 00:00      

Back to Subject List