12-81
Num-
ber
Name Boolean Operand Description Steps
Data conversion instructions
F70
P70
Block check
code
calculation
BCC
PBCC
S1, S2, S3,
D
Creates the code for checking the data specified by
“S2” and “S3” and stores it in “D”.
The calculation method is specified by “S1”.
9
F71
P71
Hexadecimal
data → ASCII
code
HEXA
PHEXA
S1, S2, D Converts the hexadecimal data specified by “S1”
and “S2” to ASCII code and stores it in “D”.
Example: HABCD→ H 42 41 44 43
B A D C
7
F72
P72
ASCII code
→ Hexadeci-
mal data
AHEX
PAHEX
S1, S2, D Converts the ASCII code specified by “S1” and
“S2” to hexadecimal data and stores it in “D”.
Example: H 44 43 42 41 → HCDAB
D C B A
7
F73
P73
4-digit BCD
data → ASCII
code
BCDA
PBCDA
S1, S2, D Converts the four digits of BCD data specified by
“S1” and “S2” to ASCII code and stores it in “D”.
Example: H1234→ H 32 31 34 33
2 1 4 3
7
F74
P74
ASCII code
→ 4-digit
BCD data
ABCD
PABCD
S1, S2, D Converts the ASCII code specified by “S1” and
“S2” to four digits of BCD data and stores it in “D”.
Example: H 34 33 32 31 → H3412
4 3 2 1
9
F75
P75
16-bit binary
data → ASCII
code
BINA
PBINA
S1, S2, D Converts the 16 bits of binary data specified by
“S1” to ASCII code and stores it in “D” (area of “S2”
bytes).
Example: K-100→ H 30 30 31 2D 20 20
0 0 1 -
7
F76
P76
ASCII code
→ 16-bit
binary data
ABIN
PABIN
S1, S2, D Converts the ASCII code specified by “S1” and
“S2” to 16 bits of binary data and stores it in “D”.
Example: H 30 30 31 2D 20 20 → K-100
0 0 1 -
7
F77
P77
32-bit binary
data → ASCII
code
DBIA
PDBIA
S1, S2, D Converts the 32 bits of binary data (S1+1, S1) to
ASCII code and stores it in D (area of “S2” bytes).
11