6F3B0250

7. Instructions

Rotate operations

FUN

Name

Expression

Function

Steps

Speed

Available

Page

No.

 

 

 

 

(ms)

T1

T1S

 

078

1 bit rotate right

-[ RTR1 A ]-

Rotates data of A 1 bit to the

2

6.8

Ö

Ö

190

 

 

 

right (LSB direction). The

 

 

 

 

 

 

 

 

carry flag changes according

 

 

 

 

 

 

 

 

to the result.

 

 

 

 

 

079

1 bit rotate left

-[ RTL1 A ]-

Rotates data of A 1 bit to the

2

6.8

Ö

Ö

191

 

 

 

left (MSB direction). The

 

 

 

 

 

 

 

 

carry flag changes according

 

 

 

 

 

 

 

 

to the result.

 

 

 

 

 

080

n bit rotate right

-[ A RTR n ® B ]-

Rotates data of A n bits to the

4

10.2

Ö

Ö

192

 

 

 

right (LSB direction) and

 

 

 

 

 

 

 

 

stores the result in B. The

 

 

 

 

 

 

 

 

carry flag changes according

 

 

 

 

 

 

 

 

to the result.

 

 

 

 

 

081

n bit rotate left

-[ A RTL n ® B ]-

Rotates data of A n bits to the

4

10.2

Ö

Ö

193

 

 

 

left (MSB direction) and

 

 

 

 

 

 

 

 

stores the result in B. The

 

 

 

 

 

 

 

 

carry flag changes according

 

 

 

 

 

 

 

 

to the result.

 

 

 

 

 

Compare instructions

FUN

Name

Expression

Function

Steps

Speed

Available

Page

No.

 

 

 

 

(ms)

T1

T1S

 

096

Greater than

-[ A > B ]-

Turns ON output if A > B.

3

6.1

Ö

Ö

196

097

Greater than or

-[ A >= B ]-

Turns ON output if A ³ B.

3

5.3

Ö

Ö

197

 

equal

 

 

 

 

 

 

 

098

Equal

-[ A = B ]-

Turns ON output if A = B.

3

5.0

Ö

Ö

198

099

Not equal

-[ A <> B ]-

Turns ON output if A ¹ B.

3

5.0

Ö

Ö

199

100

Less than

-[ A < B ]-

Turns ON output if A < B.

3

6.1

Ö

Ö

200

101

Less than or

-[ A <= B ]-

Turns ON output if A £ B.

3

5.3

Ö

Ö

201

 

equal

 

 

 

 

 

 

 

102

Double-word

-[A+1×A D> B+1×B ]-

Turns ON output

3

6.1

Ö

Ö

202

 

greater than

 

if A+1×A > B+1×B.

 

 

 

 

 

103

Double-word

-[A+1×A D>= B+1×B ]-

Turns ON output

3

5.3

Ö

Ö

203

 

greater than or

 

if A+1×A ³ B+1×B.

 

 

 

 

 

 

equal

 

 

 

 

 

 

 

104

Double-word

-[A+1×A D= B+1×B ]-

Turns ON output

3

5.0

Ö

Ö

204

 

equal

 

if A+1×A = B+1×B.

 

 

 

 

 

105

Double-word

-[A+1×A D<> B+1×B ]-

Turns ON output

3

5.0

Ö

Ö

205

 

not equal

 

if A+1×A ¹ B+1×B.

 

 

 

 

 

106

Double-word

-[A+1×A D< B+1×B ]-

Turns ON output

3

6.1

Ö

Ö

206

 

less than

 

if A+1×A < B+1×B.

 

 

 

 

 

107

Double-word

-[A+1×A D<= B+1×B ]-

Turns ON output

3

5.3

Ö

Ö

207

 

less than or

 

if A+1×A £ B+1×B.

 

 

 

 

 

 

equal

 

 

 

 

 

 

 

128 T1/T1S User’s Manual

CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net

Page 130
Image 130
Toshiba PROSEC T1 T1S, 6F3B0250 user manual Rotate operations, Compare instructions