
6F3B0253
7. Instructions
Rotate operations
FUN | Name | Expression | Function | Steps | Speed | Page | |
No. |
|
|
|
|
| (∝ s) |
|
078 | 1 bit rotate | − [ RTR1 A ]− |
| Rotates data of A 1 bit to the |
|
|
|
| right |
|
| right (LSB direction). The | 2 | 6.8 | 172 |
|
|
|
| carry flag changes according | |||
|
|
|
|
|
|
| |
|
|
|
| to the result. |
|
|
|
079 | 1 bit rotate left | − [ RTL1 A ]− |
| Rotates data of A 1 bit to the |
|
|
|
|
|
|
| left (MSB direction). The | 2 | 6.8 | 173 |
|
|
|
| carry flag changes according | |||
|
|
|
|
|
|
| |
|
|
|
| to the result. |
|
|
|
080 | n bit rotate | − [ A RTR n → | B ]− | Rotates data of A n bits to |
|
|
|
| right |
|
| the right (LSB direction) and |
|
|
|
|
|
|
| stores the result in B. The | 4 | 10.2 | 174 |
|
|
|
| carry flag changes according |
|
|
|
|
|
|
| to the result. |
|
|
|
081 | n bit rotate left | − [ A RTL n → | B ]− | Rotates data of A n bits to |
|
|
|
|
|
|
| the left (MSB direction) and |
|
|
|
|
|
|
| stores the result in B. The | 4 | 10.2 | 175 |
|
|
|
| carry flag changes according |
|
|
|
|
|
|
| to the result. |
|
|
|
Compare instructions
FUN | Name | Expression | Function |
| Steps | Speed | Page |
No. |
|
|
|
|
| (∝ s) |
|
096 | Greater than | − [ A > B ]− | Turns ON output if A > | B. | 3 | 6.1 | 178 |
097 | Greater than or | − [ A >= B ]− | Turns ON output if A ≥ | B. | 3 | 5.3 | 179 |
| equal |
|
|
| |||
|
|
|
|
|
|
| |
098 | Equal | − [ A = B ]− | Turns ON output if A = | B. | 3 | 5.0 | 180 |
099 | Not equal | − [ A <> B ]− | Turns ON output if A ≠ | B. | 3 | 5.0 | 181 |
100 | Less than | − [ A < B ]− | Turns ON output if A < | B. | 3 | 6.1 | 182 |
101 | Less than or | − [ A <= B ]− | Turns ON output if A ≤ | B. | 3 | 5.3 | 183 |
| equal |
|
|
| |||
|
|
|
|
|
|
| |
102 | − [ A+1⋅A D> B+1⋅B ]− | Turns ON output |
| 3 | 6.1 | 184 | |
| greater than |
| if A+1⋅A > B+1⋅B. |
| |||
|
|
|
|
|
| ||
103 | − [ A+1⋅A D>= B+1⋅B ]− | Turns ON output |
|
|
|
| |
| greater than or |
| if A+1⋅A ≥ B+1⋅B. |
| 3 | 5.3 | 185 |
| equal |
|
|
|
|
|
|
104 | − [ A+1⋅A D= B+1⋅B ]− | Turns ON output |
| 3 | 5.0 | 186 | |
| equal |
| if A+1⋅A = B+1⋅B. |
| |||
|
|
|
|
|
| ||
105 | − [ A+1⋅A D<> B+1⋅B ]− | Turns ON output |
| 3 | 5.0 | 187 | |
| not equal |
| if A+1⋅A ≠ B+1⋅B. |
| |||
|
|
|
|
|
| ||
106 | − [ A+1⋅A D< B+1⋅B ]− | Turns ON output |
| 3 | 6.1 | 188 | |
| less than |
| if A+1⋅A < B+1⋅B. |
| |||
|
|
|
|
|
| ||
107 | − [ A+1⋅A D<= B+1⋅B ]− | Turns ON output |
|
|
|
| |
| less than or |
| if A+1⋅A ≤ B+1⋅B. |
| 3 | 5.3 | 189 |
| equal |
|
|
|
|
|
|
110