Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Assembly Language Programming (ALP) Forum (http://www.go4expert.com/forums/assembly-language-programming-forum/)
-   -   problem (http://www.go4expert.com/forums/problem-t1986/)

bothie 24Nov2006 13:14

problem
 
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 24Nov2006 15:00

Re: problem
 
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


All times are GMT +5.5. The time now is 15:15.