A-43
Appendices
CJ2 CPU Unit Software User’s Manual
A-1 Instruction Functions
App
A-1-14 Double-precision Floating-point Instructions
DOUBLE
FLOATING-
POINT DIVIDE
/D
@/D
848 Divides the specified double-precision floating-point val-
ues (64 bits each) and outputs the result to the result
words.
Output Required
DOUBLE
DEGREES TO
RADIANS
RADD
@RADD
849 Converts the specified double-precision floating-point
data (64 bits) from degrees to radians and outputs the
result to the result words.
Output Required
DOUBLE RADI-
ANS TO
DEGREES
DEGD
@DEGD
850 Converts the specified double-precision floating-point
data (64 bits) from radians to degrees and outputs the
result to the result words.
Output Required
DOUBLE SINE SIND
@SIND
851 Calculates the sine of the angle (radians) in the speci-
fied double-precision floating-point data (64 bits) and
outputs the result to the result words.
Output Required
DOUBLE
COSINE
COSD
@COSD
852 Calculates the cosine of the angle (radians) in the spec-
ified double-precision floating-point data (64 bits) and
outputs the result to the result words.
Output Required
DOUBLE TAN-
GENT
TA ND
@TAND
853 Calculates the tangent of the angle (radians) in the
specified double-precision floating-point data (64 bits)
and outputs the result to the result words.
Output Required
DOUBLE ARC
SINE
ASIND
@ASIND
854 Calculates the angle (in radians) from the sine value in
the specified double-precision floating-point data (64
bits) and outputs the result to the result words. (The arc
sine function is the inverse of the sine function; it
returns the angle that produces a given sine value
between −1 and 1.)
Output Required
DOUBLE ARC
COSINE
ACOSD
@ACOSD
855 Calculates the angle (in radians) from the cosine value
in the specified double-precision floating-point data (64
bits) and outputs the result to the result words. (The arc
cosine function is the inverse of the cosine function; it
returns the angle that produces a given cosine value
between −1 and 1.)
Output Required
Instruction Mnemonic Code Symbol/Operand Function Location
Execution
condition
/D(848)
Dd
Dr
R
Dd: 1st Dividend
word
Dr: 1st divisor
word
R: 1st result word
RADD(849)
S
R
S: 1st source word
R: 1st result word
DEGD(850)
S
R
S: 1st source word
R: 1st result word
SIND(851)
S
R
S: 1st source word
R: 1st result word
COSD(852)
S
R
S: 1st source word
R: 1st result word
TAND(853)
S
R
S: 1st source word
R: 1st result word
ASIND(854)
S
R
S: 1st source word
R: 1st result word
ACOSD(855)
S
R
S: 1st source word
R: 1st result word