A-1-14 Double-Precision Floating-Point Instructions - Omron CJ2 CPU UNIT SOFTWARE User Manual

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

Appendices
A-1-14
Double-precision Floating-point Instructions
Instruction
Mnemonic
DOUBLE
FIXD
841
FLOATING TO
@FIXD
16-BIT BINARY
DOUBLE
FIXLD
842
FLOATING TO
@FIXLD
32-BIT BINARY
16-BIT BINARY
DBL
843
TO DOUBLE
@DBL
FLOATING
32-BIT BINARY
DBLL
844
TO DOUBLE
@DBLL
FLOATING
DOUBLE
+D
845
FLOATING-
@+D
POINT ADD
−D
DOUBLE
846
FLOATING-
@−D
POINT SUB-
TRACT
DOUBLE
*D
847
FLOATING-
@*D
POINT MULTI-
PLY
A-42
Code
Symbol/Operand
FIXD(841)
S
D
S: 1st source word
D: Destination
word
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
Function
Converts the specified double-precision floating-point
data (64 bits) to 16-bit signed binary data and outputs
the result to the destination word.
Converts the specified double-precision floating-point
data (64 bits) to 32-bit signed binary data and outputs
the result to the destination words.
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.
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.
Adds the specified double-precision floating-point val-
ues (64 bits each) and outputs the result to the result
words.
Subtracts the specified double-precision floating-point
values (64 bits each) and outputs the result to the result
words.
Multiplies the specified double-precision floating-point
values (64 bits each) and outputs the result to the result
words.
Execution
Location
condition
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
CJ2 CPU Unit Software User's Manual

Advertisement

Table of Contents
loading

Table of Contents