A-2-11 Logic Instructions; A-2-12 Special Math Instructions; A-2-13 Floating-Point Math Instructions - Omron CJ2 - 02-2010 User Manual

Cj2 cpu unit software
Table of Contents

Advertisement

Instruction
Mnemonic
ASCII TO SIXTEEN-
NUM16
DIGIT NUMBER
A-2-11
Logic Instructions
Instruction
Mnemonic
LOGICAL AND
ANDW
DOUBLE LOGICAL
ANDL
AND
LOGICAL OR
ORW
DOUBLE LOGICAL
ORWL
OR
EXCLUSIVE OR
XORW
DOUBLE EXCLU-
XORL
SIVE OR
EXCLUSIVE NOR
XNRW
DOUBLE EXCLU-
XNRL
SIVE NOR
COMPLEMENT
COM
DOUBLE COMPLE-
COML
MENT
A-2-12
Special Math Instructions
Instruction
Mnemonic
BINARY ROOT
ROTB
BCD SQUARE ROOT
ROOT
ARITHMETIC PRO-
APR
CESS
FLOATING POINT
FDIV
DIVIDE
BIT COUNTER
BCNT
A-2-13
Floating-point Math Instructions
Instruction
Mnemonic
FLOATING TO 16-BIT
FIX
FLOATING TO 32-BIT
FIXL
16-BIT TO FLOATING
FLT
CJ2 CPU Unit Software User's Manual
FUN No.
Length (steps)
606
3
FUN No.
Length (steps)
034
4
610
4 to 6
035
4
611
4 to 6
036
4
612
4 to 6
037
4
613
4 to 6
029
2
614
2
Length
FUN No.
(steps)
620
3
15.4
072
3
17.1
069
4
4.6
5.7
079
4
76
067
4
0.24
FUN No.
Length (steps)
450
3 to 4
451
3 to 4
452
3 to 4
ON execution time (µs)
CJ2H
CJ2M-
CPU6@(-EIP)
CPU@@
27.4
52.0
ON execution time (µs)
CJ2H
CJ2M-
CPU6@(-EIP)
CPU@@
0.14
0.340
0.26
0.640
0.18
0.340
0.26
0.640
0.18
0.340
0.26
0.640
0.18
0.340
0.26
0.640
0.18
0.240
0.32
0.440
ON execution time (µs)
CJ2H
CJ2M-
CPU6@(-EIP)
CPU@@
24.2
25.3
5.3
6.9
149
0.360
ON execution time (µs)
CJ2H
CJ2M-
CPU6@(-EIP)
CPU@@
0.13
0.24
0.13
0.32
0.13
0.30
Appendices
Conditions
---
Conditions
---
---
---
---
---
---
---
---
---
---
Conditions
---
---
Designating SIN and
COS
Designating line-seg-
ment approximation
---
Counting 1 word
Conditions
---
---
---
A-89

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents