Double-Precision Floating-Point Instructions - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

2. Summary of Instructions

2-2-14 Double-precision Floating-point Instructions

Instruction
Symbol/Operand
Mnemonic
Code
DOUBLE FLOAT-
ING TO 16-BIT
FIXD(841)
BINARY
FIXD
@FIXD
841
S: 1st source
word
D: Destination
word
DOUBLE FLOAT-
ING TO 32-BIT
FIXLD(842)
BINARY
FIXLD
@FIXLD
842
S: 1st source
word
D: 1st destination
word
16-BIT BINARY
TO DOUBLE
DBL(843)
FLOATING
DBL
@DBL
843
S: Source word
D: 1st destination
word
32-BIT BINARY
TO DOUBLE
DBLL(844)
FLOATING
DBLL
@DBLL
844
S: 1st source
word
D: 1st destination
word
DOUBLE FLOAT-
ING-POINT ADD
+D(845)
+D
@+D
845
Au: 1st augend
word
Ad: 1st addend
word
R: 1st result word
DOUBLE FLOAT-
ING-POINT SUB-
TRACT
D
@ D
846
Mi: 1st minuend
word
Su: 1st subtra-
hend word
R: 1st result word
78
The Double-precision Floating-point Instructions are supported only by the
CJ2, CS1-H, CJ1-H, CJ1M, or CS1D CPU Units.
Converts the specified double-precision floating-point data (64 bits) to 16-
bit signed binary data and outputs the result to the destination word.
S
D
Converts the specified double-precision floating-point data (64 bits) to 32-
bit signed binary data and outputs the result to the destination words.
S
D
Converts the specified 16-bit signed binary data to double-precision float-
ing-point data (64 bits) and outputs the result to the destination words.
S
D
Converts the specified 32-bit signed binary data to double-precision float-
ing-point data (64 bits) and outputs the result to the destination words.
S
D
Adds the specified double-precision floating-point values (64 bits each)
and outputs the result to the result words.
Au
Ad
R
Subtracts the specified double-precision floating-point values (64 bits
each) and outputs the result to the result words.
D(846)
Mi
Su
R
Function
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Location
Page
Execution
condition
Output
519
Required
Output
519
Required
Output
521
Required
Output
521
Required
Output
523
Required
Output
523
Required

Advertisement

Table of Contents
loading

Table of Contents