This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Carry flage

How can get the carry flag when add a var in Keil C?

  • Don't even think about it!

    If you need to do this, you need to do it in assembler!

    You have absolutely no guarantee whatsoever that the value in the carry flag at the start of one 'C' expression will be the carry result from the previous 'C' expression!