I'm interested in practical applications, even if they are outdated by modern standards.
There's similar question, about ROL and ROR here, but it doesn't really answer about RCL/RCR.
I can come up with some applications for RCL, RCR with operand 1 (i.e. for some LFSRs), but i can't think of any sensible application with non 1 operand.
So can anyone enlighten me?
P.S. sample code is more than welcomed.
update 1: as Peter Cordes
mentioned in comments below, one (quite obvious) application is shrd/shld. (IIRC rcl/rcr instructions were already in 8080)
Maybe 'non 1' above was not clear, but mind that I'm mostly interested in usage, where operand is != 1 (RC(L|R) REG, c
with c being either > 1 or == cl
).