Chapter 6 Applied Instructions 6.21 String Processing Instructions 6.21.1 List of String Processing Instructions The following table lists the String Processing instructions covered in this section.
6_ 6-625 Instruction code Pulse API Function 16-bit 32-bit instruction 2100 BINDA DBINDA Converting a signed decimal number into an ASCII code 2101 BINHA DBINHA Converting a binary hexadecimal number into an hexadecimal ASCII code 2102 BCDDA DBCDDA Converting a binary-coded decimal number into an ASCII code 2103 DABIN DDABIN Converting a signed decimal ASCII code into a signed decimal binary number 2104 HABIN DHABIN Converting a hexadecimal ASCII code into a hexadecimal binary number 2105 DABCD DDABCD Converting an ASCII code into a binary-coded decimal number 2106 $LEN – Calculating the length of a string 2109 $FSTR – Converting a floating-point number into a string 2110 $FVAL – Converting a string into a floating-point number 2111 $RIGHT – Retrieving characters from a string starting from the right 2112 $LEFT – Retrieving characters from a string starting from the left 2113 $MIDR – Retrieving a part of a string 2115 $SER – Searching a string 2116 $RPLC – Replacing the characters in a string 2117 $DEL – Deleting the characters in a string 2118 $CLR – Clearing a string 2119 $INS – Inserting a string 2122 SPLIT – Splitting a string 2123 MERGE – Merging strings