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

8051 c program for rotating through carry

Sir,
May i know the 8051 c program for the instruction rlc a (rotate accumulator left through carry)
Is there any operator for this insruction like shift operator

thanks & regards
Rijo

Parents
  • In Standard C, No there is no keywords to do this. You can code it and see if the compiler is smart enouht to see and use it in the ASM. Optionally you can call an ASM function that does it.

    Check the manual and see if there a built in function for it.

Reply
  • In Standard C, No there is no keywords to do this. You can code it and see if the compiler is smart enouht to see and use it in the ASM. Optionally you can call an ASM function that does it.

    Check the manual and see if there a built in function for it.

Children