We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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!