Link to home
Start Free TrialLog in
Avatar of arut
arut

asked on

Rotate accumulator right using bitwise operators?

Basically I would like to know how to get the effect of RAR using
C bitwise operators.

e.g 1101 should become 1100

Can someone please help me.

Regards &  Thanks,
arut
Avatar of hongjun
hongjun
Flag of Singapore image

What do you mean?
It's clockwise or anti-clockwise rotation?

1101 to become 1100? I assume it should be clockwise rotation right?

Please give more examples after you have read my comment so that I can help you.

hongjun
ASKER CERTIFIED SOLUTION
Avatar of scrapdog
scrapdog
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial