Instruction set, Basic instructions, Arithmetic operations – Toshiba T2E User Manual
Page 15: Data transfer instructions, Logical operations, Shift instructions
Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".
Instruction Set
Basic Instructions
Arithmetic Operations
FUN ^^o. Symbol
Name
-I l-
N0 contact
-l/l-
NC contact
-lîl-
Transitional contact (rising edge)
-Ul-
Transitional contact [falling edge)
-( )-l
Coil
•( H
Forced coil (debugging purpose only)
-III-
Inverter
-{IH
Invert coil
-I PI-
Positive pulse contact
-INI-
Ne^tlve pulse contact
-(PH
Positive pulse coil
-<NH
Negative pulse coil
JCS
Jump control set
JCR
Jump control reset
TON
O
n
delay timer
TOF
OFF delay timer
SS
Single-shot timer
1 CNT
Counter
MCS
Master control set
MCR
Master control reset
134
MCSn
Master control set (nesting)
135
MCRn
Master control reset (nesting)
148
TRG
Timer trigger
END
End
Data transfer Instructions
FUN No, Symbol
Name
IS
MOV
Data transfer
19
OMOV Double-word data transfw
20
NOT ^
Invert transfer
21
DNOT
Double-word invert transfer
22
XCHG
Exchange
23
DXCH
Double-word excrtange
24
TINZ
Table initialize
25
TMOV Table block transfer
26
TNOT
Table invert transfer
90
MPX
Muttiplaxer
91
DPX
Demultiptexer
92
TBM
Table -* bit transfer
93
BTM
Bit — table transfer
FUN No. Symt)ol
Name
27
+
Addition
28
-
Subtractkjfi
29
«
Multiplication
30
/
Division
31
D+
Double-word addition
32
D-
Double-word subtraction
33
D*
Double-word multiplication
34
0/
Double-word division
35
+C
Addition with carry
36
-C
Subtraction with carry
37
O+C
Double-word addition with carry
38
0-C
Double-word subtraction with carry
39
u*
Unsigned multiplication
40
u/
Unsigned division
41
DIV
UnsigrMd double/single division
43
+1
Increment
44
D+1
Daubte-word increnrent
45
-1
Decrement
46
D-1
Double-word decrement
Logical Operations
FUN No. Symbol
Name
46
AND
AND •
49
DANO
Double-word AND
50
OR
OR
51
DOR
Double-word OH
52
EÓR
Exclusive OR
53
DEOR
Double-word exclusive OR
54
ENR
NOT exclusive OR
55
DENR
Double-word N07 exclusive OR
57
TAND
Table AND
58
TOR
Table OR
59
TEOR
Table exclusive OR
60
TENR
Table NOT exclusive OR
64
TEST
Bit test
65
DTST
Double-word fait lest
66
TTST
Bit lile bit test
Shift Instructions
FUN No, Symbol
Name
68
SHR1
1 bit shift right
69
SHL1
1 bit shift left
70
SHRn
n bits shift right
71
SHLn
n Pits shift left
72
TSHR
Bit (its n bits shift right
73
TSHL
Bit file n bits shift left
74
SB
Shift register
75
DSR
Bi-directional shift register
76
SFT
Device shift
15