A-2-32 Text String Processing Instructions - Omron CJ2 CPU UNIT SOFTWARE User Manual

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

Instruction
Mnemonic
Loop Control
LEND (exe-
cution condi-
tion)
LEND (bit
address)
Loop Control (NOT)
LEND NOT
(bit address)
A-2-32
Text String Processing Instructions
Instruction
Mnemonic
MOV STRING
MOV$
CONCATENATE
+$
STRING
GET STRING LEFT
LEFT$
GET STRING RIGHT
RGHT$
GET STRING MIDDLE MID$
FIND IN STRING
FIND$
STRING LENGTH
LEN$
REPLACE IN STRING
RPLC$
DELETE STRING
DEL$
EXCHANGE STRING
XCHG$
CLEAR STRING
CLR$
INSERT INTO
INS$
STRING
CJ2 CPU Unit Software User's Manual
Length
FUN No.
(steps)
CPU6@(-EIP)
810
1
4.2
3.9
810
2
6.7
6.6
810
2
6.7
6.6
Length
FUN No.
(steps)
CPU6@(-EIP)
664
3
31.5
656
4
56
652
4
33.5
653
4
33.4
654
5
32.3
660
4
30.3
650
3
14.0
661
6
110
658
5
45.6
665
3
40.3
666
2
15.9
657
5
85
ON execution time (µs)
CJ2H
CJ2M-
CPU@@
8.6
6.5
10.4
8.2
10.9
8.2
ON execution time (µs)
CJ2H
CJ2M-CPU@@
58.3
104
62.2
62.1
60.8
56.3
24.9
213
86.8
75.4
28.3
162
Appendices
Conditions
Do not loop (input
condition ON)
Loop (input condi-
tion OFF)
Do not loop (bit ON)
Loop (bit OFF)
Do not loop (bit OFF)
Loop (bit ON)
Conditions
Transferring 1 char-
*1
acter
1 character + 1 char-
*1
acter
Retrieving 1 charac-
ter from 2 charac-
*1
ters
Retrieving 1 charac-
ter from 2 charac-
*1
ters
Retrieving 1 charac-
ter from 3 charac-
*1
ters
Searching for 1 char-
acter from 2 charac-
*1
ters
Detecting 1 charac-
*1
ter
Replacing the first of
2 characters with 1
*1
character
Deleting the leading
character of 2 char-
*1
acters
Exchanging 1 char-
acter with 1 charac-
*1
ter
Clearing 1 charac-
*1
ter
Inserting 1 character
after the first of 2
*1
characters
A-107

Advertisement

Table of Contents
loading

Table of Contents