Instructions fun 026 tnot table invert transfer – Toshiba 6F3B0253 User Manual
Page 144

6F3B0253
142
T1-16S User’s Manual
7. Instructions
FUN 026
TNOT
Table invert transfer
Expression
Input
−
[ A TNOT (n) B ]
−
Output
Function
When the input is ON, the data of n registers starting with A are bit-inverted and transferred to n
registers starting with B in a block. The allowable range of the table size n is 1 to 1024 words.
Execution condition
Input
Operation
Output
OFF
No execution
OFF
ON
Execution
ON
Operand
Name
Device
Register
Constant Index
X
Y
R
S
T.
C. XW YW RW SW T
C
D
I
J
K
A Start of source
√
√
√
√
√
√
√
n Table size
1 - 1024
B Start of
destination
√
√
√
√
√
√
Example
When R010 is ON, the data of D0600 to D0604 (5 registers) are bit-inverted and transferred to
D0865 to D0869, and the output is turned ON.
D0600
H00FF
D0865
HFF00
D0601
H0000
Bit-invert
D0866
HFFFF
D0602
H1234
and transfer
D0867
HEDCB
5 registers
D0603
H5555
D0868
HAAAA
D0604
H89AB
D0869
H7654
Note
•
The source and destination tables can be overlapped.