Double Floating-Point Multiply: *D(847) - Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Double-precision Floating-point Instructions (CS1-H, CJ1-H, CJ1M, or CS1D Only)
Description
Note
668
Area
EM Area without bank
EM Area with bank
Indirect DM/EM
addresses in binary
Indirect DM/EM
addresses in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
*D(847) multiplies the double-precision (64-bit) floating-point number in words
Md to Md+3 by the double-precision (64-bit) floating-point number in words Mr
to Mr+3 and places the result in words D to D+3. (The floating point data must
be in IEEE754 format.)
S1+3CH
S1+2CH
S2+3CH
S2+2CH
D+3CH
D+2CH
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 and the
result will be output as
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 and the
result will be output as 0.
The various combinations of multiplicand and multiplier data will produce the
results shown in the following table.
Multiplier
0
0
0
Numeral
0
+
See note 2.
See note 2
NaN
1. The results could be zero (including underflows), a numeral, + , or – .
2. The Error Flag will be turned ON and the instruction will not be executed.
Md
E00000 to E32764
En_00000 to En_32764
(n = 0 to C)
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
---
---
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
S1+1CH
S1CH
Multiplicand (floating-point data, 64-bits)
S2+1CH
S2CH
Multiplier (floating-point data, 64-bits)
D+1CH
DCH
Result (floating-point data, 64-bits)
.
Multiplicand
Numeral
+
0
See note 2.
See note 1.
+/–
+/–
+
+/–
Section 3-16
Mr
D
NaN
See note 2.
+/–
+
See note 2.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents