F75_BIN2A

Redundant instruction

NOTE

This is a redundant instruction. It is replaced by: FP_DEC_TO_ASCII

Converts the 16-bit data specified by s1 to ASCII codes that express the equivalent decimal value. The converted result is stored in the area starting from the 16-bit area specified by d as specified by s2. Specify the number of bytes in decimal number in s2. (This specification cannot be made with BCD data.)

Parameters

Input

s1 (WORD, INT, UINT)

16-bit area to be converted (source)

s2_Number (INT)

specifies number of bytes used to express destination data (ASCII codes)

Output

d_Start (WORD)

16-bit area for storing ASCII codes (destination)

Remarks

Error flags

sys_bIsOperationErrorHold (turns to TRUE and remains TRUE)
  • if the number of bytes specified by s2 exceeds the area specified by d.

  • if the data specified by s2 is recognized as "0".

  • if the converted result exceeds the area specified by d.

  • if the number of bytes of converted result exceeds the number of bytes specified by s2.

sys_bIsOperationErrorNonHold (turns to TRUE for one scan)
  • if the number of bytes specified by s2 exceeds the area specified by d.

  • if the data specified by s2 is recognized as "0".

  • if the converted result exceeds the area specified by d.

  • if the number of bytes of converted result exceeds the number of bytes specified by s2.

Related topics:

Modified on: 2019-01-24Feedback on this pagePanasonic hotline