62
Instruction Functions Section 2-2
FOUR-DIGIT
NUMBER TO
ASCII
STR4
@STR4
601
(CS/CJ-series
CPU Units with
unit version 4.0 or
later only)
Converts a 4-digit hexadecimal number (#0000 to #FFFF) to ASCII
data (4 characters).
Output
Required
534
EIGHT-DIGIT
NUMBER TO-
ASCII
STR8
@STR8
602
(CS/CJ-series
CPU Units with
unit version 4.0 or
later only)
Converts an 8-digit hexadecimal number (#0000 0000 to #FFFF FFFF)
to ASCII data (8 characters).
Output
Required
537
SIXTEEN-DIGIT
NUMBER TO
ASCII
STR16
@STR16
603
(CS/CJ-series
CPU Units with
unit version 4.0 or
later only)
Converts a 16-digit hexadecimal number (#0000 0000 0000 0000 to
#FFFF FFFF FFFF FFFF) to ASCII data (16 characters).
Output
Required
539
ASCII TO FOUR-
DIGIT NUMBER
NUM4
@NUM4
604
(CS/CJ-series
CPU Units with
unit version 4.0 or
later only)
Converts 4 characters of ASCII data to a 4-digit hexadecimal number. Output
Required
541
ASCII TO EIGHT-
DIGIT NUMBER
NUM8
@NUM8
605
(CS/CJ-series
CPU Units with
unit version 4.0 or
later only)
Converts 8 characters of ASCII data to an 8-digit hexadecimal number. Output
Required
544
ASCII TO SIX-
TEEN-DIGIT
NUMBER
NUM16
@NUM16
606
(CS/CJ-series
CPU Units with
unit version 4.0 or
later only)
Converts 16 characters of ASCII data to a 16-digit hexadecimal num-
ber.
Output
Required
545
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
STR4
S
D
S: Numeric
D: ASCII text
STR8
S
D
S: Numeric
D: ASCII text
STR16
S
D
S: Numeric
D: ASCII text
NUM4
S
D
S: ASCII text
D: Numeric
NUM8
S
D
S: ASCII text
D: Numeric
NUM16
S
D
S: ASCII text
D: Numeric