Panasonic FP7 Series Command Reference Manual page 30

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

1.2 List of High-level Instructions
Operatio
Name
Sign extension US, SS
Conversion:
US, UL
BCD Data
Conversion:
US, UL
BCD → BIN
Decode
7-Segment
US
Decoding
Encode
Digit
US
Unification
Digit
US
Disintegration
Byte Data
Unification
Byte Data
Disintegration
Conversion:
Binary → Gray
US, UL
code
Conversion:
Gray Code →
US, UL
BIN
Conversion:
Bit Line → Bit
US
Column
Conversion:
Bit Column →
US
Bit Line
1-12
n
Mnemonic
Unit
EXT
(P)
BCD
(P)
BIN
(P)
DECO
(P)
SEGT
(P)
ENCO
(P)
UNIT
(P)
DIST
(P)
BUNI
(P)
BDIS
(P)
GRY
(P)
GBIN
(P)
COLM
(P)
LINE
(P)
Operand
Function overview
Converts the 16-bit BIN data for [S] to 32-
S, D
bit BIN data while maintaining the signs,
and stores it in (D+1, D).
Converts the BIN data specified with [S] to
BCD data, and stores it in the area starting
S, D
with [D].
Example) K100 → H100
Converts the BCD data specified with [S] to
BIN data, and stores it in the area starting
S, D
with [D].
Example) H100 → K100
Decodes part of the data of [S] and stores it
S, n, D
in the area starting with [D]. The target for
conversion is specified with "n".
Converts the data of [S] to data for use in a
S, D
7-segment display, and stores it in (D+1,
D).
Encodes part of the data of [S], and stores
S, n, D
it in the area starting with [D]. The target for
conversion is specified with "n".
The least significant digits of the "n" words
S, n, D
data of the 16-bit data starting with [S] are
combined and stored in [D].
Each digit of the data of [S] is separated
S, n, D
and stored in each of the least significant
digits of the 16-bit data starting with [D].
The least significant bytes of the "n" words
data of the 16-bit data starting with [S] are
S, n, D
combined and stored in the area starting
with [D].
The data of the area starting with [S] is
separated into byte units, and stored in the
S, n, D
least significant bytes of the 16-bit data
starting with [D].
Converts the BIN data stored in [S] to gray
S, D
code data, and stores it in the area starting
with [D].
Converts the gray code data stored in [S] to
S, D
BIN data, and stores it in the area starting
with [D].
Stores the values for bits 0 to 15 of [S] in
S, n, D
bits [n] of [D] to [D+15].
Stores the values for bits [n] of [S] to [S+15]
S, n, D
in bits 0 to 15 of [D].
Page
"P.7-8"
"P.7-10"
"P.7-12"
"P.7-14"
"P.7-17"
"P.7-20"
"P.7-23"
"P.7-25"
"P.7-27"
"P.7-29"
"P.7-31"
"P.7-34"
"P.7-36"
"P.7-38"
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents