You're not wrong. The {S} suffix is required to shift bit 0 into the carry flag.Try RRXS instead of RRX. I think RRX used like that doesn't set the carry flag.
I could be wrong. I'm a bit rusty on assembler.
For ARMv7, (32-bit) the reference is in section 7.7.118 of the Architecture Reference Manual. Having the Architecture Reference handy is invaluable for assembly programming.
Statistics: Posted by creatid — Sat Dec 16, 2023 9:34 pm