Appendices
A-42
CJ2 CPU Unit Software User’s Manual
A-1-14 Double-precision Floating-point Instructions
Instruction Mnemonic Code Symbol/Operand Function Location
Execution
condition
DOUBLE
FLOATING TO
16-BIT BINARY
FIXD
@FIXD
841 Converts the specified double-precision floating-point
data (64 bits) to 16-bit signed binary data and outputs
the result to the destination word.
Output Required
DOUBLE
FLOATING TO
32-BIT BINARY
FIXLD
@FIXLD
842 Converts the specified double-precision floating-point
data (64 bits) to 32-bit signed binary data and outputs
the result to the destination words.
Output Required
16-BIT BINARY
TO DOUBLE
FLOATING
DBL
@DBL
843 Converts the specified 16-bit signed binary data to dou-
ble-precision floating-point data (64 bits) and outputs
the result to the destination words.
Output Required
32-BIT BINARY
TO DOUBLE
FLOATING
DBLL
@DBLL
844 Converts the specified 32-bit signed binary data to dou-
ble-precision floating-point data (64 bits) and outputs
the result to the destination words.
Output Required
DOUBLE
FLOATING-
POINT ADD
+D
@+D
845 Adds the specified double-precision floating-point val-
ues (64 bits each) and outputs the result to the result
words.
Output Required
DOUBLE
FLOATING-
POINT SUB-
TRACT
−D
@−D
846 Subtracts the specified double-precision floating-point
values (64 bits each) and outputs the result to the result
words.
Output Required
DOUBLE
FLOATING-
POINT MULTI-
PLY
*D
@*D
847 Multiplies the specified double-precision floating-point
values (64 bits each) and outputs the result to the result
words.
Output Required
S: 1st source word
D: Destination
word
FIXD(841)
S
D
FIXLD(842)
S
D
S: 1st source word
D: 1st destination
word
DBL(843)
S
D
S: Source word
D: 1st destination
word
DBLL(844)
S
D
S: 1st source word
D: 1st destination
word
+D(845)
Au
Ad
R
Au: 1st augend word
Ad: 1st addend word
R: 1st result word
−D(846)
Mi
Su
R
Mi: 1st minuend
word
Su: 1st subtra-
hend word
R: 1st result word
*D(847)
Md
Mr
R
Md: 1st multipli-
cand word
Mr: 1st multiplier
word
R: 1st result word