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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/16/11 10:45
Read: times


 
#183373 - Start by caring about the C standard
Responding to: ???'s previous message
So you haven't still realized that the C language does not guarantee that you can perform a left-shift and then pick up the just shifted out bit in any processor-specific carry register?

Stop doing that. It is not part of the language standard, and you can hope, but not know, what the contents of CY will be.

If you don't understand something: ask, instead of ignore.

List of 19 messages in thread
TopicAuthorDate
Driving HT16K33 using 89S52            01/01/70 00:00      
   How to post legible source code            01/01/70 00:00      
      HLL Delay Routines - beware!!            01/01/70 00:00      
      modified code            01/01/70 00:00      
         How do you think that will help??            01/01/70 00:00      
   some comments on code            01/01/70 00:00      
      testing of new code            01/01/70 00:00      
         HLL Delay Routines            01/01/70 00:00      
         one thing            01/01/70 00:00      
            CY in C ? _NOT_            01/01/70 00:00      
               I'll use new code.            01/01/70 00:00      
   Getting success            01/01/70 00:00      
      one modification            01/01/70 00:00      
      For How Long?            01/01/70 00:00      
         No need to use that instruction            01/01/70 00:00      
            Start by caring about the C standard            01/01/70 00:00      
               Learning the 'C' programming language            01/01/70 00:00      
            C Language Supports No Carry Bits            01/01/70 00:00      
            Talking to HT16K33            01/01/70 00:00      

Back to Subject List