AH500 Programming Manual 
6-438 
6.21  String Processing Instructions 
6.21.1  List of String Processing Instructions 
API 
instruction
Function  Step 
2100 
BINDA  DBINDA  – 
 
Converting the singed decimal 
number into the ASCII code 
5 
2101 
BINHA  DBINHA  – 
 
Converting the binary hexadecimal 
number into the hexadecimal ASCII 
code 
5 
2102 
BCDDA
DBCDDA
– 
 
Converting the binary-coded decimal 
number into the ASCII code 
5 
2103 
DABIN  DDABIN  – 
 
Converting the signed decimal ASCII 
code into the signed decimal binary 
number 
5-11 
2104 
HABIN  DHABIN  – 
 
Converting the hexadecimal ASCII 
code into the hexadecimal binary 
number 
5-11 
2105 
DABCD
DDABCD
– 
 
Converting the ASCII code into the 
binary-coded decimal number 
5-11 
Calculating the length of the string 
2107 
$STR  $DSTR  – 
 
Converting the binary number into the 
string 
7 
2108 
$VAL  $DVAL  – 
 
Converting the string into the binary 
number 
7-13 
2109 
$FSTR 
– 
 
Converting the floating-point number 
into the string 
7-8 
2110 
$FVAL 
– 
 
Converting the string into the 
floating-point number 
5-11 
2111 
$RIGHT
– 
 
The retrieve of the characters in the 
string begins from the right. 
7-13 
2112 
$LEFT 
– 
 
The retrieve of the characters in the 
string begins from the left. 
7-13 
Retrieving a part of the string 
Replacing a part of the string 
Replacing the characters in the string 
Deleting the characters in the string 
2120 
–  FMOD  – 
 
Converting the floating-point number 
into the binary-coded decimal 
floating-point number 
7-8 
2121 
FREXP  –  – 
 
Converting the Binary-coded decimal 
floating-point number into the 
floating-point number 
7