Last night fixed a bug in my LFSR (Linear-Feedback Shift Register) implementation on the Z80, which was due to a misunderstanding of the difference between the Rotate Right instructions RRC L and RR L. They both use the Carry flag: RR is a 9-bit rotation using the Carry; RRC is a _circular_ rotation, which apparently means the Carry does not participate in the rotation and is a copy of the result's top-bit. I had forgotten and misread my quickref. I thought RRC would be Rotate Right with Carry. Haha, no.


