Kaiyi — 6.3.1 List of Data Conversion Instructions

AH500 Programming Manual 6.3 Data Conversion Instructions 6.3.1 List of Data Conversion Instructions 6-69 Instruction code Pulse Page API Function Step 16-bit 32-bit 64-bit instruction number 0200 BCD DBCD –  Converting the binary number into the binary-coded decimal number 5 6-71 0201 BIN DBIN –  Converting the binary-coded decimal number into the binary number 5 6-72 0202 FLT DFLT –  Converting the binary integer into the binary floating-point number 5 6-74 0203 FLTD DFLTD –  Converting the binary integer into the 64-bit floating-point number 5 6-77 0204 INT DINT –  Converting the 32-bit floating-point number into the binary integer 5 6-79 0205 – FINT DFINT  Converting the 64-bit floating-point number into the binary integer 5 6-81 0206 MMOV – –  Converting the 16-bit value into the 32-bit value 5 6-83 0207 RMOV – –  Converting the 32-bit value into the 16-bit value 5 6-84 0208 GRY DGRY –  Converting the binary number into the Gray code 5 6-85 0209 GBIN DGBIN –  Converting the Gray code into the binary number 5 6-86 0210 NEG DNEG –  Two’s complement 3 6-87 0211 – FNEG –  Reversing the sign of the 32-bit floating-point number 3 6-89 0212 – FBCD –  Converting the binary floating-point number into the decimal floating-point number 5 6-90 0213 – FBIN –  Converting the decimal floating-point number into the binary floating-point number 5 6-91 0214 BKBCD – –  Converting the binary numbers in blocks into the binary-coded decimal numbers in blocks 7 6-93 0215 BKBIN – –  Converting the binary numbers in blocks into the binary-coded decimal numbers in blocks 7 6-94 0216 SCAL – –  Scale value operation 9 6-95