Toshiba PROSEC T1 T1S Video Game Controller User Manual


 
6F3B0250
Basic Hardware and Function
157
7. Instructions
FUN 022 XCHG Data exchange
Expression
Input
-
[
A
XCHG
B
]
-
Output
Function
When the input is ON, the data of
A
and the data of
B
is exchanged.
Execution condition
Input Operation Output
OFF No execution OFF
ON Execution ON
Operand
Name Device Re
g
ister Constant Index
X Y R S T. C. XW YW RW SW T C D I J K
A
Operation data
ÖÖÖÖÖÖÖÖÖ Ö
B
Operation data
ÖÖÖÖÖÖÖÖÖ Ö
Example
When R005 is ON, the data of RW23 and D0100 is exchanged. If the original data of RW23 is
23456 and that of D0100 is 291, the operation result is as follows.
RW23 23456 RW23 291
D0100 291 D0100 23456
Before operation After operation
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net