319
Data Shift Instructions Section 3-8
Examples When CIO 0.00 is ON, CIO 1000 and CIO 1001 will be shifted 10 bits to the
right (from the leftmost bit to the rightmost bit). The number of bits to shift is
specified in bits 0 to 7 of word D300 (control data). The contents of bit 15 of
CIO 1001 will be copied into the bits from which data was shifted and the con-
tents of the leftmost bit of data which was shifted out of range will be shifted
into the Carry Flag (CY). All other data is lost.
15 8 011 37 412
C: D300
080
A
0.00
1000
D300
No. of bits to shift: 10 bits (0A hex)
Always 0.
Data shifted into register
8 Hex: Contents of leftmost bit shifted in
CY
1
CIO 1001
CIO 1001
CIO 1000
CIO 1000
Leftmost bit
Lost
No. of bits to shift: 10 bits
(Contents of the leftmost bit is inserted.)