RRX example, uses the CPSR C flag as a 33rd bit.
ldr r0,=#0x5
ldr r1,=#0x0000000F
cmp r0,#1 <================set carry = 1
RRX r0,r1 <================ output = 0x80000007
ROR example, the LSB(Least Significant Bit) becomes the MSB(Most Significant Bit)
ldr r1,=#0x0000000F
ROR r0,r1,#1 <================ output = 0x80000007
I understand how to operate these instructions, but I wonder what's the purpose ? In what scenarios would you actually need these instructions? Thank you.