EasyManua.ls Logo

Omron SYSMAC CV Series - Double Rotate Right: Rorl(067)

Omron SYSMAC CV Series
636 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
182
5-14-20DOUBLE ROTATE RIGHT: RORL(067)
(067)
RORL Wd
Wd: Word CIO, G, A, DM
Operand Data AreaLadder 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 115 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
LSBMSB
0 1 0 0 0 0 1 1
1
CY
LSBMSB
1 0 1 1 0 0 1
0 1 0 1 1 1 0 1
LSBMSB
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

Table of Contents

Related product manuals