Delta AH500 — 6.21.1 List of String Processing Instructions

Chapter 6 Applied Instructions 6.21 String Processing Instructions 6.21.1 List of String Processing Instructions 6-439 Instruction code Pulse API Function Step 16-bit 32-bit 64-bit instruction 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 2106 $LEN – –  Calculating the length of the string 5-11 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 2113 $MIDR – –  Retrieving a part of the string 7-13 2114 $MIDW – –  Replacing a part of the string 7-13 2115 $SER – –  Searching the string 9-21 2116 $RPLC – –  Replacing the characters in the string 11-17 2117 $DEL – –  Deleting the characters in the string 9 2118 $CLR – –  Clearing the string 3 2119 $INS – –  Inserting the string 9-15 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