
6F3B0250
7. Instructions
Conversion instructions
FUN | Name | Expression | Function | Steps | Speed | Available | Page | ||
No. |
|
|
|
|
| (ms) | T1 | T1S |
|
062 | Hex to ASCII | B ]- | Converts the hexadecimal | 4 |
|
| Ö | 179 | |
| conversion |
|
| data of n words stating with A |
|
|
|
|
|
|
|
|
| into ASCII characters, and |
|
|
|
|
|
|
|
|
| stores them in nx2 registers |
|
|
|
|
|
|
|
|
| starting with B. |
|
|
|
|
|
063 | ASCII to Hex | B ]- | Converts the ASCII | 4 |
|
| Ö | 180 | |
| conversion |
|
| characters stored in n |
|
|
|
|
|
|
|
|
| registers stating with A into |
|
|
|
|
|
|
|
|
| hexadecimal data, and stores |
|
|
|
|
|
|
|
|
| them in n/2 registers starting |
|
|
|
|
|
|
|
|
| with B. |
|
|
|
|
|
180 | Absolute value |
| Stores the absolute value of A | 3 | 5.0 | Ö | Ö | 249 | |
|
|
|
| in B. |
|
|
|
|
|
182 | 2’s complement |
| Stores the 2’s complement | 3 | 4.6 | Ö | Ö | 250 | |
|
|
|
| value of A in B. |
|
|
|
|
|
183 | Stores the 2’s complement | 3 | 4.6 | Ö | Ö | 251 | |||
| 2’s complement |
|
| value of A+1×A in B+1×B. |
|
|
|
|
|
185 | Converts lower 4 bits of A into | 3 | 43.9 | Ö | Ö | 252 | |||
| decode |
|
|
|
|
|
|
| |
|
|
|
| in B. |
|
|
|
|
|
186 | ASCII |
| Converts the alphanumerics | 3 - 10 | 29.8 - | Ö | Ö | 254 | |
| conversion |
|
| (max. 16 characters) of A into |
| 49.6 |
|
|
|
|
|
|
| ASCII codes, and stores them |
|
|
|
|
|
|
|
|
| in registers starting with B. |
|
|
|
|
|
188 | Binary |
| Converts the BCD data in A | 3 | 65.5 | Ö | Ö | 255 | |
| conversion |
|
| into binary data, and stores it |
|
|
|
|
|
|
|
|
| in B. |
|
|
|
|
|
190 | BCD |
| Converts the binary data in A | 3 | 55.6 | Ö | Ö | 256 | |
| conversion |
|
| into BCD data, and stores it in |
|
|
|
|
|
|
|
|
| B. |
|
|
|
|
|
132 T1/T1S User’s Manual
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net