Appendices
A-108
CJ2 CPU Unit Software User’s Manual
*1 The instruction execution time is greatly affected by the amount to data. This will affect the cycle time. To reduce the effect
on the cycle time, background execution can be specified. Refer to 10-2-5 Background Execution for details.
String Comparison
Instructions
=$ 670 4 27.0 50.9 Comparing 1 charac-
ter with 1 character
<>$ 671
<$ 672
<=$ 673
>$ 674
=$ 675
A-2-33 Task Control Instructions
Instruction Mnemonic FUN No.
Length
(steps)
ON execution time (µs)
Conditions
CJ2H
CPU6@(-EIP)
CJ2M-
CPU@@
TASK ON TKON 820 2 12.5 19.0 Cyclic task specified
13.6 22.7 Extra task specified
TASK OFF TKOF 821 2 240 393 Cyclic task specified
15.5 25.8 Extra task specified
A-2-34 Model Conversion Instructions
Instruction Mnemonic FUN No.
Length
(steps)
ON execution time (µs)
Conditions
CJ2H
CPU6@(-EIP)
CJ2M-
CPU@@
BLOCK TRANSFER XFERC 565 4 6.7 8.2 Transferring 1 word
362 409 Transferring 1,000
words
SINGLE WORD DIS-
TRIBUTE
DISTC 566 4 4.6 5.3 Data distribute
6.0 7.3 Stack operation
DATA COLLECT COLLC 567 4 5.3 6.5 Data distribute
4.5 13.0 Stack operation
5.8 6.1 Stack operation
1 word FIFO Read
42 142 Stack operation
1,000 word FIFO
Read
MOVE BIT MOVBC 568 4 4.9 5.7 ---
BIT COUNTER BCNTC 621 4 5.5 6.4 Counting 1 word
873 974 Counting 1,000
words
Instruction Mnemonic FUN No.
Length
(steps)
ON execution time (µs)
Conditions
CJ2H
CPU6@(-EIP)
CJ2M-CPU@@