Mitsubishi Electric Q01UCPU User Manual page 531

Hide thumbs Also See for Q01UCPU:
Table of Contents

Advertisement

(2) Floating-point operation instructions for the Universal model QCPU
The following table lists floating-point operation instructions for the Universal model QCPU.
Specifications of the single-precision floating-point operation instructions are compatible with those for the High
Performance model QCPU.
Instruction name
Comparison
Floating-point data comparison
Data transfer
Floating-point data transfer
Floating-point data addition
Floating-point data subtraction
Four arithmetic
operation
Floating-point data multiplication
Floating-point data division
Conversion from BIN 16-bit data
to floating-point data
Conversion from BIN 32-bit data
to floating-point data
Data conversion
Conversion from floating-point
data to BIN 16-bit data
Conversion from floating-point
data to BIN 32-bit data
Floating-point sign inversion
SIN operation
COS operation
TAN operation
SIN-1 operation
COS-1 operation
Special function
TAN-1 operation
Conversion from angle to radian
Conversion from radian to angle
Square root
Exponential operation
Natural logarithm operation
Floating-point data can be converted mutually between single precision and double precision using instructions in
the following table.
Single precision to double precision conversion
Double precision to single precision conversion
Single-precision
floating-point data
LDE
ANDE
ORE
EMOV(P)
E+(P)
E-(P)
E*(P)
E/(P)
FLT(P)
DFLT(P)
INT(P)
DINT(P)
ENEG(P)
SIN(P)
COS(P)
TAN(P)
ASIN(P)
ACOS(P)
ATAN(P)
RAD(P)
DEG(P)
SQR(P)
EXP(P)
LOG(P)
Instruction name
Instruction symbol
Double-precision
floating-point data
LDED
ANDED
ORED
EDMOV(P)
ED+(P)
ED-(P)
ED*(P)
ED/(P)
FLTD(P)
DFLTD(P)
INTD(P)
DINTD(P)
EDNEG(P)
SIND(P)
COSD(P)
TAND(P)
ASIND(P)
ACOSD(P)
ATAND(P)
RADD(P)
DEGD(P)
SQRD(P)
EXPD(P)
LOGD(P)
Instruction symbol
ECON(P)
EDCON(P)
APPENDICES
Remarks
 indicates one of
the following;
<>,=,<,>,<=,>=.
---
---
A
---
---
529

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents