A SERVICE OF

logo

8. Function Commands
DRCL, DRCLP
- 264 -
{ DRCL, DRCLP ... Left rotation of 32-bit data
Usable device
Bit device Word device
Con-
stant
Pointer
X Y M L F BSB T SM VTCDRWSWZSDKH P
Digit
desig-
nation
Index
No. of
steps
D
{ { { { { {
{
{ { { { { { { {
n
{
{ { { { { {
{
{ { { { { { { { { {
{ {
3
DRCL
Left rotation command
n
D
DRCL
DRCLP nD
DRCLP
Setting data
n
Head No. of device where
left rotation data is stored.
D
Times (0 to 31)
Function
The 32-bit data designated with D is rotated n bits to the left including the carry flag.
The carry flag must be set to 1 or 0 before executing DRCL.
Carry flag
SM12
B15B31
B30B29 B16 B2 B1 B0
D
n bit rotation
D+1
Execution conditions
The execution conditions for the DRCL, DRCLP are as shown below.
Left rotation command OFF
DRCL
ON
Executed per scan
Executed per scan
DRCLP