刚才看300的梯形图手册的循环移位部分的时候,我看到“ROL_DW (Rotate Left Double Word) is activated by a logic "1" at the Enable (EN)
Input. The ROL_DW instruction is used to rotate the entire contents of input IN bit
by bit to the left. The input N specifies the number of bits by which to rotate. If N is
larger than 32, the double word IN is rotated by ((N-1) modulo 32)+1 positions.”我对为什么要用“((N-1) modulo 32)+1”来算移位次数理解不明白,请赐教!!!谢先!