AH 5 00 Pr ogr am m ing Ma n ua l
6.21 String Processing Instructions
6.21.1 List of String Processing Instructions
Instruction code
API
16-bit
32-bit
2100
BINDA
DBINDA
2101
BINHA
DBINHA
2102
BCDDA DBCDDA
2103
DABIN
DDABIN
2104
HABIN
DHABIN
2105
DABCD DDABCD
2106
$LEN
–
2107
$STR
$DSTR
2108
$VAL
$DVAL
–
2109
$FSTR
–
2110
$FVAL
–
2111
$RIGHT
–
2112
$LEFT
2113
$MIDR
–
2114
$MIDW
–
2115
$SER
–
2116
$RPLC
–
2117
$DEL
–
2118
$CLR
–
2119
$INS
–
2120
–
FMOD
2121
FREXP
–
6 - 4 3 8
Pulse
instruction
64-bit
Converting the singed decimal
–
number into the ASCII code
Converting the binary hexadecimal
–
number into the hexadecimal ASCII
code
Converting the binary-coded decimal
–
number into the ASCII code
Converting the signed decimal ASCII
–
code into the signed decimal binary
number
Converting the hexadecimal ASCII
–
code into the hexadecimal binary
number
Converting the ASCII code into the
–
binary-coded decimal number
–
Calculating the length of the string
Converting the binary number into the
–
string
Converting the string into the binary
–
number
Converting the floating-point number
–
into the string
Converting the string into the
–
floating-point number
The retrieve of the characters in the
–
string begins from the right.
The retrieve of the characters in the
–
string begins from the left.
–
Retrieving a part of the string
–
Replacing a part of the string
–
Searching the string
–
Replacing the characters in the string
–
Deleting the characters in the string
–
Clearing the string
–
Inserting the string
Converting the floating-point number
–
into the binary-coded decimal
floating-point number
Converting the Binary-coded decimal
–
floating-point number into the
floating-point number
Function
Step
5
5
5
5-11
5-11
5-11
5-11
7
7-13
7-8
5-11
7-13
7-13
7-13
7-13
9-21
11-17
9
3
9-15
7-8
7