Instruction Set

Basic Instructions

 

Arithmetic Operations

 

 

 

FUN No. ; Symbol

 

 

Name

FUN No . Symbol

Addition

Name

 

 

 

-1 I-

 

NO contact

 

27

 

 

 

 

 

 

-1 / I-

 

NC contact

_

28

 

 

Subtraction

 

 

 

 

-III-

 

Transitional contact (rising edge)

29

 

 

Multiplication

 

 

 

-III-

 

Transitional contact (falling edge;

30

 

 

Division

 

 

 

 

-( )-I

 

Cole

 

31

 

D+

Double-word addition

 

 

 

»~ -I

 

Forced coil (debugging purpose only)

32

 

D-

Double-word subtraction

 

 

-III-

 

Inverter

 

33

 

D

Double-word multiplication

 

 

-( I ) .1

 

Invert coil

 

34

_

of

Double-word

division

 

 

 

-1 P1 -

_ Positive pulse contact

35

 

tC

Addition with carry

 

 

 

-IN I-

 

Negative pulse contact

35

 

-C

Subtraction with carry

 

 

 

-( P)-t

 

Positive pulse coil

37

 

D+G

Double-word addition w !,h carry

 

 

-(N)-l

 

Negative pulse coil

38

 

D-C

Double-word subtraction with carry

 

 

JCS

 

Jump control set

39

 

U*

Unsigned multiplication

 

 

JCR

 

Jump control reset

40

 

U/

Unsigned division

 

 

 

TON

 

ON delay timer

 

41

 

DIV

Unsigned double/single division

 

 

7OF

 

OFF delay timer

 

 

 

Increment

 

 

 

 

SS

 

Single-shot timer

44

 

 

Double-word increment

 

 

CNT

 

Counter

 

45

 

 

Decrene-t

 

 

 

 

WCS

 

Master control set --

46

 

 

Double v --rd d¢ :re`na_rt

 

 

fi1CR

 

Master control reset

Logical Operations

 

 

 

134

MCSn

 

Master control set (nesting)

 

 

 

135

tvlCRr

 

Master control reset (nesting)

FUN

No. l Symbol

 

Name

 

 

148

TRG

 

Timer trigger

 

 

 

 

 

 

48

 

AND

AND

 

 

 

 

END

 

End

 

 

 

 

 

 

 

 

49

 

DAND

Double-word AND

 

 

 

 

 

 

 

 

 

 

Data transfer Instructions

50

 

OR

OR

 

 

 

51

 

DOR

Double-word OR

 

 

 

 

 

 

 

 

 

 

FUN No .

Symbol

_

Name

52

 

FOR

Exclusive OR

 

 

18

MOV

 

Data trar .sier

 

53

 

DEOR

iDouble-word exclusive OR

 

19

DMOV

 

Double-word data transfer

54

 

ENR

NOT exclusive OR

 

 

20

NOT

 

Invert transfer

 

55

 

DENR

Double-word NOT exclusive OR

 

 

 

 

Double-word invert transfer

57

 

TAND

Table AND

 

 

 

 

SCCH G i

Exchange

 

-58

 

TOR

Table OR

 

 

 

 

DXCH

i

Double-word exchange

59

 

TEOR

Table exclusive OR

 

 

 

TINZ

 

Table Initialize

 

- .60

 

TENR

Table NOT exclusive OR

 

 

TMOV

 

Table block transfer

64

 

TEST

Bit test

 

 

 

 

TNOT

 

Table invert transfer

65

 

DTST

Double-word bit test

_

 

 

MPX

 

Multiplexer

 

66

 

TEST

Bit file bit test

 

 

 

DPX

 

Demultipiexer

 

Shift Instructions

 

 

 

92

T8M

 

Table -a loft tran sfer

 

 

 

93

9TM

 

Bit -- table transfer

FUN No . Symbol,

 

Name

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

68

 

SHRi

1 bit shift right

 

 

 

 

 

 

 

69

 

SHL1

1 bit shift lef;

 

 

 

 

 

 

 

70

 

SHRn

n bits shift right

 

 

 

 

 

 

 

71

 

SHLn

n bits shift i5ft

 

 

 

 

 

 

 

72

 

TSHR

bit file n bits shift right

 

 

 

 

 

 

 

73

 

TSHL

Bit file n bits shift left

 

 

 

 

 

 

 

74

 

SR

Shift register

 

 

 

 

 

 

 

75

j

DSR

Bi-directional sniff register

 

 

 

 

 

 

76

I

SFT

Device shift

-

-

15

Page 15
Image 15
Toshiba T2E Basic Instructions, Logical Operations, Data transfer Instructions, Shift Instructions, Arithmetic Operations