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.
Hi i want to get the value of the carry flag (after shift to left) from c code how to do it?? thanks
"It's highly recommended to use CY either as inline assembler (#pragma asm ... #pragma endasm) of a .C51 module/function or in an external .A51 assembler module/function."
I highly recommend that you should not use inline assembler - use an external .A51 assembler module/function and call it from 'C'
Inline Assembler is still subject to the risk of false assumptions about the states of internal registers!