3. Instructions
326
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
z RRNC
z RRNL
Example Programming
RRNC(575) shifts all bits of Wd to the right
(from leftmost bit to rightmost bit) not
including the Carry Flag (CY). The contents
of the rightmost bit of Wd shifts to the
leftmost bit and to the Carry Flag (CY).
RRNL(577) shifts all bits of Wd and Wd +1 to
the right (from leftmost bit to rightmost bit)
not including the Carry Flag (CY). The
contents of the rightmost bit of Wd +1 is
shifted to the leftmost bit of Wd, and to the
Carry Flag (CY).
When CIO 0.00 is ON, word CIO 100 will
shift one bit to the right (excluding the Carry
Flag (CY)). The contents of CIO 100.00 will
be shifted to CIO 100.15.
When CIO 0.00 is ON, words CIO 100 and CIO 101
will shift one bit to the right, (excluding the Carry Flag
(CY)). The contents of CIO 100.00 will be shifted to
CIO 101.15.
Wd
Wd+1 Wd
CY
0.00
Wd
Instruction executed once
Wd: CIO 100
0.00
Wd
Instruction executed once
Wd: CIO 100Wd+1: CIO 101