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!