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

Back to Subject List

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


 
#94497 - You need to find the problem!
Responding to: ???'s previous message
Florian Krist said:
it was a problemm for the Keil Compiler C51 - the Optimization Level 6 was to high with level 1 it works but the binary is 1 kb bigger thats nod good.

I doubt that the problem lies with the compiler.

More likely, your code is written in such a way that some key actions get "optimised-out" - eg, a software delay loop, or redundant variable accesses.
You need to re-write it so that this doesn't happen!

Hint: look up the 'volatile' keyword...

To isolate the precise problem, try comparing the generated assembler at the different optimisation settings.



List of 7 messages in thread
TopicAuthorDate
outsite main problem            01/01/70 00:00      
   outsite main problem            01/01/70 00:00      
      found a prob            01/01/70 00:00      
         which uC?            01/01/70 00:00      
            re: which uC?            01/01/70 00:00      
         You need to find the problem!            01/01/70 00:00      
            You need to find the problem!            01/01/70 00:00      

Back to Subject List