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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/26/08 19:33
Read: times


 
#157778 - truncating the low byte...hmmm
Responding to: ???'s previous message
More likely there is something going on elsewhere in your code that us stepping on the memory where your variable is stored.

Also eliminate the initializer and set the variable value instead by a direct assignment statement. You maybe have made some changes in the startup code that deals with initialized values and made a mistake there.

As a minimum compile your C to assembler source and look at exactly that the compiler has done. You may surprise yourself with a discovery.

Michael Karas


List of 8 messages in thread
TopicAuthorDate
Keil - Watch window            01/01/70 00:00      
   use long data type            01/01/70 00:00      
   Apparently, no            01/01/70 00:00      
      Thanks. I use version 3.51            01/01/70 00:00      
         truncating the low byte...hmmm            01/01/70 00:00      
            Moved the variable            01/01/70 00:00      
               Alternative split            01/01/70 00:00      
                  Yeah got it...            01/01/70 00:00      

Back to Subject List