6F3B0253

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

D0601

D0602

D0603

D0604

H00FF

H0000

H1234

H5555

H89AB

 

D0865

Bit-invert

D0866

and transfer

D0867

 

D0868

 

 

D0869

HFF00

HFFFF

HEDCB

HAAAA

H7654

5 registers

Note

The source and destination tables can be overlapped.

142 T1-16S User’s Manual

Page 144
Image 144
Toshiba 6F3B0253 user manual Tnot, Table invert transfer