Panasonic FP0R User Manual page 313

Hide thumbs Also See for FP0R:
Table of Contents

Advertisement

Num-
Name
ber
F76
ASCII code →
P76
16-bit binary
data
F77
32-bit binary
P77
data → ASCII
code
F78
ASCII code →
P78
32-bit binary
data
F80
16-bit binary
P80
data → 4-digit
BCD data
F81
4-digit BCD
P81
data → 16-bit
binary data
F82
32-bit binary
P82
data → 8-digit
BCD data
F83
8-digit BCD
P83
data → 32-bit
binary data
F84
16-bit data
P84
invert (com-
plement of 1)
F85
16-bit data
P85
complement
of 2
F86
32-bit data
P86
complement
of 2
F87
16-bit data
P87
absolute
F88
32-bit data
P88
absolute
F89
16-bit data
P89
sign extension
F90
Decode
P90
F91
7-segment
P91
decode
F92
Encode
P92
F93
16-bit data
P93
combine
: Available,
: Not available,
Ope-
Boolean
rand
ABIN
S1, S2,
Converts the ASCII code specified by
PABIN
D
"S1" and "S2" to 16 bits of binary data
and stores it in "D".
Example: H 30 30 31 2D 20 20
DBIA
S1, S2,
Converts the 32 bits of binary data
PDBIA
D
(S1+1,
S1) to ASCII code and stores it in D
(area of "S2" bytes).
DABI
S1, S2,
Converts the ASCII code specified by
PDABI
D
"S1" and "S2" to 32 bits of binary data
and stores it in (D+1, D).
BCD
S, D
Converts the 16 bits of binary data
PBCD
specified by "S" to four digits of BCD
data and stores it in "D".
Example: K100 → H100
BIN
S, D
Converts the four digits of BCD data
PBIN
specified by "S" to 16 bits of binary data
and stores it in "D".
Example: H100 → K100
DBCD
S, D
Converts the 32 bits of binary data
PDBCD
specified by (S+1, S) to eight digits of
BCD data and stores it in (D+1, D).
DBIN
S, D
Converts the eight digits of BCD data
PDBIN
specified by (S+1, S) to 32 bits of binary
data and stores it in (D+1, D).
INV
D
Inverts each bit of data of "D".
PINV
NEG
D
Inverts each bit of data of "D" and adds
PNEG
1 (inverts the sign).
DNEG
D
Inverts each bit of data of (D+1, D) and
PDNEG
adds 1 (inverts the sign).
ABS
D
Gives the absolute value of the data of
PABS
"D".
DABS
D
Gives the absolute value of the data of
PDABS
(D+1, D).
EXT
D
Extends the 16 bits of data in "D" to 32
PEXT
bits in (D+1, D).
DECO
S, n, D
Decodes part of the data of "S" and
PDECO
stores
it in "D". The part is specified by "n".
SEGT
S, D
Converts the data of "S" for use in a 7-
PSEGT
segment display and stores it in (D+1,
D).
ENCO
S, n, D
Encodes part of the data of "S" and
PENCO
stores it in "D". The part is specified by
"n".
UNIT
S, n, D
The least significant digit of each of the
PUNIT
"n" words of data beginning at "S" are
stored (united) in order in "D".
: Not available partially
Description
→ K-100
0 0 1 -
7
11
11
5
5
7
7
3
3
3
3
3
3
7
5
7
7
15-51

Advertisement

Table of Contents
loading

Table of Contents