3. Instructions
334
CS/CJ/NSJ Series Instructions Reference Manual (W474)
When CIO 0.00 is ON, CIO 100 and CIO 101 will be shifted to the left (from the rightmost bit to the
leftmost bit) by 10 bits. The number of bits to shift is specified in bits 0 to 7 of word CIO 300 (control
data). The contents of bit 0 of CIO 100 is copied into bits from which data was shifted and the contents
of the rightmost bit which was shifted out of range is shifted into the Carry Flag (CY). All other data is
lost.
15 8 011 37412
C
08A0
No. of bits to shift: 10 bits (0A Hex)
Always 0.
Data shifted into register
8 Hex: Contents of rightmost bit shifted in
0.00
Rightmost bit
Lost
No. of bits to shift: 10 bits
(Contents of the rightmost
bit is inserted.)
15 8 011 37412
C
080A
0.00
No. of bits to shift: 10 bits (0A Hex)
Always 0.
Data shifted into register
8 Hex: Contents of
right-most bit shifted in
100
100
Rightmost bit a
Lost
No. of bits to shift: 10 bits
(Contents of the rightmost
bit is shifted in)