78
CS/CJ/NSJ Series Instructions Reference Manual (W474)
2. Summary of Instructions
ARC TANGENT
ATAN
@ATAN
465
Output
Required
491
SQUARE ROOT
SQRT
@SQRT
466
Output
Required
494
EXPONENT
EXP
@EXP
467
Output
Required
496
LOGARITHM
LOG
@LOG
468
Output
Required
498
EXPONENTIAL
POWER
PWR
@PWR
840
Output
Required
500
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
ATAN(465)
S
R
S: 1st source
word
R: 1st result word
R+1 R
S
S+1
TAN
−1
Calculates the arc tangent of a 32-bit floating-point number and
places the result in the specified result words. (The arc tangent
function is the inverse of the tangent function; it returns the angle that
produces a given tangent value.)
Source (32-bit
floating-point
data)
Result (32-bit
floating-point
data)
S
R
SQRT(466)
S: 1st source
word
R: 1st result word
R+1
R
S
S+1
Source (32-bit
floating-point
data)
Result (32-bit
floating-point
data
Calculates the square root of a 32-bit floating-point number and
places the result in the specified result words.
EXP(467)
S
R
S: 1st source
word
R: 1st result word
R+1 R
S
S+1
e
Calculates the natural (base e) exponential of a 32-bit floating-point
number and places the result in the specified result words.
Source (32-bit
floating-point
data)
Result (32-bit
floating-point
data
LOG(468)
S
R
S: 1st source
word
R: 1st result word
Calculates the natural (base e) logarithm of a 32-bit floating-point
number and places the result in the specified result words.
Source (32-bit
floating-point
data)
Result (32-bit
floating-point
data)
R+1 R
S
S+1
log
e
PWR(840)
B
E
R
B: 1st base word
E: 1st exponent
word
R: 1st result word
R+1B+1 S
E
E+1
R
Base
Raises a 32-bit floating-point number to the power of another 32-bit
floating-point number.
Power