beautypg.com

Instructions fun 020 not invert transfer – Toshiba 6F3B0253 User Manual

Page 140

background image

6F3B0253

138

T1-16S User’s Manual

7. Instructions

FUN 020

NOT

Invert transfer

Expression

Input

[ A NOT B ]

Output

Function

When the input is ON, the bit-inverted data of A is stored in B.

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 Source

B Destination

Example

When R010 is ON, the bit-inverted data of RW30 is stored in D0200 and the output is turned
ON. If RW30 is H4321, the bit-inverted data (HBCDE) is stored in D0200.

F

E

D

C

B

A

9

8

7

6

5

4

3

2

1

0

RW30

0 1 0 0 0 0 1 1 0 0 1 0 0 0 0 1

4

3

2

1

Bit-invert

F

E

D

C

B

A

9

8

7

6

5

4

3

2

1

0

D0200

1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0

B

C

D

E