Toshiba 6F3B0250 Video Gaming Accessories User Manual


 
6F3B0250
174
T1/T1S User’s Manual
7. Instructions
FUN 048 AND AND
Expression
Input
-
[
A
AND
B
®
C
]
-
Output
Function
When the input is ON, this instruction finds logical AND of
A
and
B
, and stores the result in
C
.
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
Source
ÖÖÖÖÖÖÖÖÖÖ Ö Ö
B
Source
ÖÖÖÖÖÖÖÖÖÖ Ö Ö
C
AND
ÖÖÖÖÖÖÖÖÖ Ö
Example
When R012 is ON, logical AND operation is executed for the data of RW12 and the constant data
HFF00, and the result is stored in D0030.
If the data of RW12 is H3456, the result H3400 is stored in D0030.
FEDCBA9876543210
RW12 0011010001010110
3456
AND
Constant 1111111100000000
FF00
D0030 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0
3400
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net