RCL or RCR, what for ?
I have a question. My hobby is, disassembling small old com-files and playing around with debugging utilities, undoing and redoing routines.
Of course, I know the effect of the commands like MOV, JMP etc.
I’ve followed them up and got some idea about what they are “doing” and how to use them.
But there are still a few quoted in the books, like ROR and ROL. The effect on the registers I have also been checking, but I have never really come across them in any analysed program yet. I guess that for some reason they might perhaps not been used very often.
But, what can one suppose they might be useful for then?
Could anybody, please, give me a good hint (or even an example) for where one can or where one should use for instance RCL or RCR ?
I’m looking forward to the answers and
I’d like to thank everyone for it in advance.