Floating-point math instructions – Omron HOME SECURITY SYSTEM - MOTION SENSOR FQM1-MMA21 User Manual
Page 391

368
Auxiliary Area Allocations
Appendix D
Special Math Instructions
Note When a double-length operand is used, add 1 to the value shown in the length column in the above
table.
Floating-point Math Instructions
Instruction
Mnemonic
Code
Length
(steps)
(See
note.)
ON execution
time (
µs)
Hardware
implementation
Conditions
ARITHMETIC PRO-
CESS
APR
069
4
24.3
---
Linear approximation specifica-
tion, normal
12.1
---
Linear approximation table trans-
fer, 1 word
126.1
---
Linear approximation table trans-
fer, 128 words
241.3
---
Linear approximation table trans-
fer, 256 words
21.5
---
Linear approximation buffer specifi-
cation, 256 words, beginning
186.9
---
Linear approximation buffer specifi-
cation, 256 words, end
104.5
---
Linear approximation buffer specifi-
cation, 128 words, end
BIT COUNTER
BCNT
067
4
0.65
Yes
Counting 1 word
VIRTUAL AXIS
AXIS
981
4
47.9
---
Relative mode
48.1
---
Absolute mode
8.3
---
Stopping processing
Instruction
Mnemonic
Code
Length
(steps)
(See
note.)
ON execution
time (
µs)
Hardware
implementation
Conditions
FLOATING TO 32-BIT
FIXL
451
3
7.4
---
---
32-BIT TO FLOATING
FLTL
453
3
7.0
---
---
FLOATING-POINT
ADD
+F
454
4
11.4
---
---
FLOATING-POINT
SUBTRACT
–F
455
4
11.0
---
---
FLOATING-POINT
DIVIDE
/F
457
4
11.1
---
---
FLOATING-POINT
MULTIPLY
*F
456
4
11.0
---
---
DEGREES TO RADI-
ANS
RAD
458
3
9.7
---
---
RADIANS TO
DEGREES
DEG
459
3
9.4
---
---
SINE
SIN
460
3
15.8
---
---
COSINE
COS
461
3
15.5
---
---
TANGENT
TAN
462
3
17.5
---
---
ARC SINE
ASIN
463
3
42.7
---
---
ARC COSINE
ACOS
464
3
42.5
---
---
ARC TANGENT
ATAN
465
3
21.3
---
---
SQUARE ROOT
SQRT
466
3
25.5
---
---
EXPONENT
EXP
467
3
18.1
---
---
LOGARITHM
LOG
468
3
16.1
---
---
EXPONENTIAL
POWER
PWR
840
4
31.5
---
---