problem

bothie's Avatar
Go4Expert Member
can you pliz explain to me the instructions RRC(rotate accumulator right )and the instructions RLC(rotate accumulator left) and their usage especially in multiplication in an 8085 progamming language
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
When you rotate the accumulator its actually a shifting and so shifting is actually results in devide multiiply by 2

e.g.
0110 = 6
Right shift = 0011 = 3 = 6/2
Left Shift = 1100 = 12 = 6x2

Thanks
Shabbir