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

Does _crol_ in intrins.h affect the carry bit?

I want to avoid the use of inline assembler in my code so I was hoping to replace RLC A with _crol(). Will this work or is _crol_() implemented with RL A (no carry bit)? Thanks in advance.

Parents Reply Children
  • Err... why not just leave it in assembler?!

    Usually the correct response.

    However, I have ported a few (only a few) assembler modules to C for 2 reasons a) a major addition where porting what was and coding the addition in C would be less time consuming than adding in assembler and b) this would not be 'porting' but 'recoding' an inherited assembler module that would make any italian chef very proud.

    Erik