Xchg - Omron SYSMAC CP Series Instruction & Reference Manual

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

Advertisement

XCHG

Instruction
DATA EXCHANGE
Symbol
Applicable Program Areas
Area
Usage
Operands
Operand
E1
First exchange word
E2
Second exchange word
Operand Specifications
Word addresses
Area
CIO
WR
HR
E1,E2
OK
OK
OK
Flags
Name
Error Flag
Equals Flag
Negative Flag
Function
XCHG(073) exchanges the contents of E1 and E2.
E1
CP1E CPU Unit Instructions Reference Manual(W483)
Mnemonic
Variations
XCHG
@XCHG
Step program areas
OK
Description
AR
T
C
DM
OK
OK
OK
OK
Label
P_ER
Unchanged
P_EQ
Unchanged
P_N
Unchanged
E2
Function
code
Exchanges the contents of the two specified
073
words.
XCHG
XCHG(073)
E1: First exchange word
E1
E2: Second exchange word
E2
Subroutines
OK
Indirect DM addresses
Constants
@DM
*DM
OK
OK
---
Operation
2 Instructions
Function
Interrupt tasks
OK
Data type
Size
WORD
1
WORD
1
CF
Pulse bits
TR bits
---
---
---
2-121
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents