App
- 141
Appendix 5 Method of replacing High Performance model QCPU with Universal model QCPU
APPENDICES
(2) Floating-point operation instructions for the Universal model QCPU
TableApp.71 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.
Floating-point data can be converted mutually between single precision and double
precision using instructions in TableApp.72.
TableApp.71 List of floating-point operation instructions supported in the Universal model QCPU
Instruction name
Instruction symbol
Remarks
Single-precision
floating-point data
Double-precision
floating-point data
Comparison
Floating-point data comparison
LDE
LDED
indicates one of
the followings;
<>,=,<,>,<=,>=
ANDE
ANDED
ORE
ORED
Data transfer
Floating-point data transfer
EMOV(P)
EDMOV(P)
---
Four arithmetic
operation
Floating-point data addition
E+(P)
ED+(P)
---
Floating-point data subtraction
E-(P)
ED-(P)
Floating-point data multiplication
E*(P)
ED*(P)
Floating-point data division
E/(P)
ED/(P)
Data conversion
Conversion from BIN 16-bit data
to floating-point data
FLT(P)
FLTD(P)
---
Conversion from BIN 32-bit data
to floating-point data
DFLT(P)
DFLTD(P)
Conversion from floating-point
data to BIN 16-bit data
INT(P)
INTD(P)
Conversion from floating-point
data to BIN 32-bit data
DINT(P)
DINTD(P)
Floating-point sign inversion
ENEG(P)
EDNEG(P)
Special function
SIN operation
SIN(P)
SIND(P)
---
COS operation
COS(P)
COSD(P)
TAN operation
TAN(P)
TAND(P)
SIN-1 operation
ASIN(P)
ASIND(P)
COS-1 operation
ACOS(P)
ACOSD(P)
TAN-1operation
ATAN(P)
ATAND(P)
Conversion from angle to radian
RAD(P)
RADD(P)
Conversion from radian to angle
DEG(P)
DEGD(P)
Square root
SQR(P)
SQRD(P)
Exponential operation
EXP(P)
EXPD(P)
Natural logarithm operation
LOG(P)
LOGD(P)
TableApp.72 Floating-point data conversion instructions (single precision double precision)
Instruction name
Instruction symbol
Single precision to double precision conversion
ECON(P)
Double precision to single precision conversion
EDCON(P)
Содержание Q00CPU
Страница 1: ......
Страница 2: ......
Страница 972: ...Index 6 Memo ...
Страница 975: ......
Страница 976: ......