3. Instructions
XNRW/XNRL
Instruction
EXCLUSIVE NOR
DOUBLE EXCLUSIVE NOR
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
I
Input 1
1
I
Input 2
2
R
Result word
Operand Specifications
Word addresses
Area
CIO
WR
HR
I
, I
1
2
XNRW
OK
OK
OK
R
I
, I
1
2
XNRL
OK
OK
OK
R
Flags
Name
Error Flag
Equals Flag
Negative Flag
442
Mnemonic
Variations
XNRW
@XNRW
XNRL
@XNRL
XNRW
XNRW(037)
I
: Input 1
I
1
1
I
: Input 2
I
2
2
R: Result word
R
Block program areas
Step program areas
OK
OK
Description
AR
T
C
DM
EM
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
Label
ER
OFF
=
• ON when the result is 0.
• OFF in all other cases.
N
• ON when the leftmost bit of R is 1.
• OFF in all other cases.
Function
code
Takes the logical exclusive NOR of corresponding
037
single words of word data and/or constants.
Takes the logical exclusive NOR of corresponding
613
bits in double words of word data and/or con-
stants.
Subroutines
OK
Data type
XNRW
WORD
DWORD
WORD
DWORD
WORD
DWORD
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
OK
OK
---
OK
OK
OK
---
---
Operation
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
XNRL
XNRL(613)
I
: Input 1
I
1
1
I
: Input 2
I
2
2
R: Result word
R
SFC action or
Interrupt tasks
transition programs
OK
OK
Size
XNRL
XNRW
XNRL
1
1
1
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
---
---
OK
---
---
---
2
2
2
TR
bits
---
---
Need help?
Do you have a question about the CJ - REFERENCE MANUAL 02-2010 and is the answer not in the manual?
Questions and answers