Xorw/Xorl - Omron SYSMAC CP Series Instruction & Reference Manual

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

2 Instructions

XORW/XORL

Instruction
EXCLUSIVE OR
DOUBLE EXCLUSIVE OR
Symbol
Applicable Program Areas
Area
Step program areas
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
OK
OK
OK
R
Flags
Name
Error Flag
Equals Flag
Negative Flag
2-214
Mnemonic
Variations
XORW
@XORW
XORL
@XORL
XORW
XORW(036)
I
: Input 1
I
1
1
I
: Input 2
I
2
2
R: Result word
R
Description
AR
T
C
DM
OK
OK
OK
OK
Label
P_ER
OFF
P_EQ
• ON when the result is 0.
• OFF in all other cases.
P_N
• ON when the leftmost bit of R is 1.
• OFF in all other cases.
Function
code
Takes the logical exclusive OR of corresponding
036
bits in single words of word data and/or constants.
Takes the logical exclusive OR of corresponding
612
bits in double words of word data and/or con-
stants.
Subroutines
OK
Data type
XORW
XORL
WORD
DWORD
WORD
DWORD
WORD
DWORD
Indirect DM addresses
Constants
@DM
*DM
OK
OK
OK
---
Operation
CP1E CPU Unit Instructions Reference Manual(W483)
Function
XORL
XORL(612)
I
: Input 1
I
1
1
I
: Input 2
I
2
2
R: Result word
R
Interrupt tasks
OK
Size
XORW
XORL
1
2
1
2
1
2
CF
Pulse bits
TR bits
---
---
---

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents