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 flag value from c code

Hi
i want to get the value of the carry flag (after shift to left) from c code
how to do it??
thanks

Parents
  • "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!

Reply
  • "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!

Children
No data