Redundant instruction
This is a redundant instruction. It is replaced by: INT_TO_BCD_WORD
Converts the 16-bit binary data specified by s to the BCD code that expresses 4-digit decimals if the trigger EN is in the ON-state. The converted data is stored in d. The binary data that can be converted to BCD code are in the range of 0 (0 hex) to 9999 (270F hex).
Input
binary data (source), range: 0 to 9999
Output
16-bit area for 4-digit BCD code (destination)
if 16-bit binary data outside the range of 0 (16#0) to 9999 (16#270F) is converted
if 16-bit binary data outside the range of 0 (16#0) to 9999 (16#270F) is converted