
613
Double-precision Floating-point Instructions (CS1-H, CJ1-H, CJ1M, or CS1D Only)
Section 3-16
Description
PWRD(860) raises the double-precision (64-bit) floating-point number in
words B to B+3 to the power of the double-precision (64-bit) floating-point
number in words E to E+3. In other words, PWR(840) calculates X
Y
(X = con-
tent of B to B+3; Y = content of E to E+3).
For example, when the base words (B to B+3) contain 3.1 and the exponent
words (E to E+3) contain 3, the result is 3.1
3
or 29.791.
If the absolute value of the result is greater than the maximum value that can
be expressed as floating-point data, the Overflow Flag will turn ON.
If the absolute value of the result is less than the minimum value that can be
expressed as floating-point data, the Underflow Flag will turn ON.
Flags
EM Area with bank
En_00000 to En_32764
(n = 0 to C)
Indirect DM/EM
addresses in binary
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
Indirect DM/EM
addresses in BCD
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
Constants
---
Data Registers
---
Index Registers
---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Area
B
E
D
→
S1+1
S1
S1+3
S1+2
D+1
D
D+3
D+2
S2+1
S2
S2+3
S2+2
Exponent data
Base data
Name
Label
Operation
Error Flag
ER
ON if the base data (B to B+3) or exponent data (E to
E+3) is not recognized as floating-point data.
ON if the base data (B to B+3) or exponent data (E to
E+3) is not a number (NaN).
ON if the base data (B to B+3) is 0 and the exponent data
(E to E+3) is less than 0. (Division by 0)
ON if the base data (B to B+3) is negative and the expo-
nent data (E to E+3) is non-integer. (Root of a negative
number)
OFF in all other cases.
Equals Flag
=
ON if both the exponent and mantissa of the result are 0.
OFF in all other cases.
Overflow Flag
OF
ON if the absolute value of the result is too large to be
expressed as a double-precision floating-point value.
Содержание CJ1G-CPUxx
Страница 3: ...iv N o t i c e ...
Страница 5: ...vi ...
Страница 21: ...xxii Conformance to EC Directives 6 ...
Страница 35: ......
Страница 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1143: ...Authorized Distributor Cat No W340 E1 08 Note Specifications subject to change without notice Printed in Japan ...