![background image](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532175.webp)
170
5-14-20 DOUBLE ROTATE RIGHT: RORL(067)
(067)
RORL Wd
Wd: Word
CIO, G, A, DM
Operand Data Area
Ladder Symbol
Variations
j
RORL(067)
When the execution condition is OFF, RORL(067) is not executed. When the ex-
ecution condition is ON, RORL(067) shifts CY into bit 15 of Wd+1, all bits pre-
viously in Wd and Wd+1 are shifted to the right, and bit 00 of Wd is shifted into
CY.
Wd+1
Wd
CY
Use STC(078) to set CY to 1 or CLC(079) to set CY to 0 if necessary before do-
ing a rotate operation to ensure that CY contains the proper status before ex-
ecuting RORL(067).
Note Refer to page 101 for general precautions on operand data areas.
Flags
ER (A50003):
Content of
*
DM word is not BCD when set for BCD.
CY (A50004):
Receives the status of bit 00 from Wd.
EQ (A50006):
Content of Wd and Wd+1 are 0 after execution.
N (A50008):
Same status as bit 15 of Wd+1 after execution.
Example
When CIO 000000 is ON in the following example, the status of CY is shifted into
bit 15 of CIO 0801, the status of all bits within CIO 0801 are shifted right one
position, the status of bit 00 of CIO 0801 is shifted into bit 00 of CIO 0800, the
status of all bits within CIO 0800 are shifted right one position, the status of bit 00
of CIO 0800 is shifted into CY.
Address
Instruction
Operands
00000
LD
000000
00001
RORL(067)
0800
1 0 0 1
0 1 1 0
0
CY
LSB
MSB
0 1 0 0
0 0 1 1
1
CY
LSB
MSB
1 0 1 1
0 0 1
0 1 0 1
1 1 0 1
LSB
MSB
LSB
MSB
Wd+1: CIO 0801
Wd: CIO 0800
Wd+1: CIO 0801
Wd: CIO 0800
Description
Precautions
Shift Instructions
Section 5-14
0000
00
(067)
RORL
0800
Summary of Contents for CVM1D
Page 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Page 463: ...iv...
Page 465: ...vi...