Panasonic FP7 Series Command Reference Manual page 37

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

Advertisement

Operatio
Name
Floating point
Real number
SF, DF
data
Absolute Value
Conversion:
Single-
precision Real
Number Data
SF
→ Double-
precision Real
Number
Conversion:
Double-
precision Real
Number Data
DF
→ Single-
precision Real
Number
Separation of
Mantissa and
Exponent of
Single-
SF, DF
precision or
Double-
precision Real
Number Data
Combining of
Mantissa and
Exponent, and
Conversion of
Single-
SF, DF
precision or
Double-
precision Real
Number
Conversion:
Integer →
Single-
US, SS,
Precision
UL, SL
Floating Point
Real Number
Data
Conversion:
Integer →
US, SS,
Double-
UL, SL
precision Real
Number Data
Conversion:
Single-
precision
US, SS,
Floating Point
UL, SL
Real Number
Data →
Integer
WUME-FP7CPUPGR-12
n
Mnemonic
Unit
FABS
(P)
STOD
(P)
DTOS
(P)
DISF
(P)
UNIF
(P)
FLT
(P)
DFLT
(P)
INT
(P)
1.2 List of High-level Instructions
Operand
Function overview
Determines the absolute values of the real
S, D
numbers stored in [S], and stores them in
[D].
Converts the single-precision floating point
real number stored in the area starting with
S, D
[S] to a double-precision floating point real
number.
Converts the double-precision floating point
real number stored in the area starting with
S, D
[S] to a single-precision floating point real
number.
Separates the floating point real number
S, D1,
data stored in the area starting with [S] into
D2
mantissa and exponent according to the
operation unit [i].
Combines the data of mantissa and
S1, S2,
exponent stored in the areas starting with
D
[S1] and [S2] according to the operation
unit [i].
Converts the integer data stored in [S] to
S, D
single-precision floating point real number
data, and stores it in [D].
Converts [S] (signed 32-bit integer data) to
S, D
real number data, and stores it in [D].
Converts the single-precision floating point
real numbers stored in [S] to integers
S, D
(maximum value cannot be exceeded), and
stores them in [D].
Page
"P.11-43"
"P.11-45"
"P.11-47"
"P.11-49"
"P.11-52"
"P.11-55"
"P.11-58"
"P.11-61"
1-19

Advertisement

Table of Contents
loading

Table of Contents