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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/03/09 13:09
Read: times


 
#168106 - RE: 'C' does not allow access to the carry flag
Responding to: ???'s previous message
Christoph Franck said:
C ... does not allow the programmer to access the carry flag

For Keil C51 at least, that's not true - it does give you access to the Carry Flag but you have absolutely no guarantee whatsoever that the value of the carry flag is the value from your arithmetic operation!

In particular, since you are proposing using arrays, it is quite possible that the carry flag will have been affected by the indexing operations for the arrays...

Therefore Christoph is still correct in saying,
C is very much unsuited for this purpose


List of 7 messages in thread
TopicAuthorDate
Hexadecimal Arithmetic            01/01/70 00:00      
   Cross-post            01/01/70 00:00      
   C is really unsuited for this purpose.            01/01/70 00:00      
      RE: 'C' does not allow access to the carry flag            01/01/70 00:00      
         That shoots down the reason to use C:            01/01/70 00:00      
   hexadecimal arithmetic            01/01/70 00:00      
      You already have answers to that question!            01/01/70 00:00      

Back to Subject List