RRNC/RRNL
Instruction
ROTATE RIGHT WITHOUT
CARRY
DOUBLE ROTATE RIGHT
WITHOUT CARRY
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
Wd
Word
Operand Specifications
Area
CIO
WR
HR
RRNC
Wd
OK
OK
OK
RRNL
Wd
Flags
Name
Error Flag
Equals Flag
Carry Flag
Negative Flag
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
RRNC
@RRNC
RRNL
@RRNL
RRNC
RRNC(575)
Wd
Wd: Word
Block program areas
Step program areas
OK
OK
Description
Word addresses
AR
T
C
DM
EM
OK
OK
OK
OK
OK
Label
ER
OFF
=
• ON when the shift result is 0.
• OFF in all other cases.
CY
• ON when 1 is shifted into the Carry Flag (CY).
• OFF in all other cases.
N
• ON when the leftmost bit is 1 as a result of the shift.
• OFF in all other cases.
Function
code
Shifts all Wd bits one bit to the right not including the
575
Carry Flag (CY).
Shifts all Wd and Wd +1 bits one bit to the right not
577
including the Carry Flag (CY).
Subroutines
OK
Data type
RRNC
RRNL
UINT
UDINT
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
OK
---
---
Operation
3. Instructions
Function
RRNL
RRNL(577)
Wd: Word
Wd
SFC action or transition
Interrupt tasks
programs
OK
OK
Size
RRNC
RRNL
1
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
---
3
2
TR
bits
---
317
Need help?
Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?
Questions and answers