Is there an equivalent instruction in C for bit rotation i.e what is the C equivalent for this assembly instruction: Rn = ROT Bx BY Ry.
There isn't one. You can do bit rotation in C, but it is sloppy and bug-prone. Better to just inline an assembly instruciton to use the processor's built-in bit-rotation directly.
Retrieving data ...