![](/images/new-backgrounds/1284400/284400259x1.webp)
6F3B0250
7. Instructions
Rotate operations
FUN | Name | Expression | Function | Steps | Speed | Available | Page | |
No. |
|
|
|
| (ms) | T1 | T1S |
|
078 | 1 bit rotate right | 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 | 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 | 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 | 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 | Turns ON output if A > B. | 3 | 6.1 | Ö | Ö | 196 | |
097 | Greater than or | Turns ON output if A ³ B. | 3 | 5.3 | Ö | Ö | 197 | |
| equal |
|
|
|
|
|
|
|
098 | Equal | Turns ON output if A = B. | 3 | 5.0 | Ö | Ö | 198 | |
099 | Not equal | Turns ON output if A ¹ B. | 3 | 5.0 | Ö | Ö | 199 | |
100 | Less than | Turns ON output if A < B. | 3 | 6.1 | Ö | Ö | 200 | |
101 | Less than or | Turns ON output if A £ B. | 3 | 5.3 | Ö | Ö | 201 | |
| equal |
|
|
|
|
|
|
|
102 | Turns ON output | 3 | 6.1 | Ö | Ö | 202 | ||
| greater than |
| if A+1×A > B+1×B. |
|
|
|
|
|
103 | Turns ON output | 3 | 5.3 | Ö | Ö | 203 | ||
| greater than or |
| if A+1×A ³ B+1×B. |
|
|
|
|
|
| equal |
|
|
|
|
|
|
|
104 | Turns ON output | 3 | 5.0 | Ö | Ö | 204 | ||
| equal |
| if A+1×A = B+1×B. |
|
|
|
|
|
105 | Turns ON output | 3 | 5.0 | Ö | Ö | 205 | ||
| not equal |
| if A+1×A ¹ B+1×B. |
|
|
|
|
|
106 | Turns ON output | 3 | 6.1 | Ö | Ö | 206 | ||
| less than |
| if A+1×A < B+1×B. |
|
|
|
|
|
107 | 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