265
Shift Instructions
Section 5-17
Precautions
Use STC(41) to set the status of CY or CLC(41) to clear the status of CY
before doing a rotate operation to ensure that CY contains the proper status
before execution ROR(28).
CY will be shifted into bit 15 every cycle if the undifferentiated form of
ROR(28) is used. Use the differentiated form (@ROR(28)) or combine
ROR(28) with DIFU(13) or DIFD(14) to shift just one time.
Flags
ER:
Indirectly addressed EM/DM word is non-existent.
(Content of
*
EM/
*
DM word is not BCD, or the EM/DM area boundary
has been exceeded.)
CY:
Receives the data of bit 00.
EQ:
ON when the content of Wd is zero; otherwise OFF.
5-17-7 ONE DIGIT SHIFT LEFT – SLD(74)
Limitations
St and E must be in the same data area, and E must be greater than or equal
to St.
DM 6144 to DM 6655 cannot be used for St or E.
Description
When the execution condition is OFF, SLD(74) is not executed. When the exe-
cution condition is ON, SLD(74) shifts data between St and E (inclusive) by
one digit (four bits) to the left. 0 is written into the rightmost digit of the St, and
the content of the leftmost digit of E is lost.
Precautions
If a power failure occurs during a shift operation across more than 50 words,
the shift operation might not be completed.
A 0 will be shifted into the least significant digit of St every cycle if the undiffer-
entiated form of SLD(74) is used. Use the differentiated form (@SLD(74)) or
combine SLD(74) with DIFU(13) or DIFD(14) to shift just one time.
Flags
ER:
The St and E words are in different areas, or St is greater than E.
Indirectly addressed EM/DM word is non-existent.
(Content of
*
EM/
*
DM word is not BCD, or the EM/DM area boundary
has been exceeded.)
Ladder Symbols
Operand Data Areas
SLD(74)
St
E
@SLD(74)
St
E
St
:
Starting word
IR, SR, AR, DM, EM, HR, LR
E
:
End word
IR, SR, AR, DM, EM, HR, LR
5
E
8
1
St
F C
9
7
D
Lost data
0
...
Содержание SYSMAC CQM1H Series
Страница 3: ...iv...
Страница 5: ...vi...
Страница 9: ......
Страница 11: ......
Страница 15: ...xvi...
Страница 87: ...62 Calculating with Signed Binary Data Section 1 7...
Страница 169: ...144 Serial Communications Board Section 2 6...
Страница 537: ......
Страница 565: ......
Страница 569: ......
Страница 573: ......
Страница 577: ......