Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Shifts register sX right by one place injecting the value of the carry flag
Added after 4 minutes:
SR0, SR1, SRX, SRA, RR of the shift and rotate group 358 all modify the contents of a single register sX to the right. SL0, SL1, SLX, SLA, RL all modify the contents of a single register sX to the left. These instructions effect the flags.
SR0/SL0—Shifts register sX right/left by one place injecting "0".
SR1/SL1—Shifts register sX right/left by one place injecting "1".
SRX/SLX—Shifts register sX right/left by one place injecting MSB/LSB.
SRA/SLA—Shifts register sX right/left by one place injecting the value of the carry flag.
RR/RL—Rotates register sX right/left by one place injecting LSB/MSB.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.