1086
Instruction Execution Times and Number of Steps Section 4-1
Note When a double-length operand is used, add 1 to the value shown in the length
column in the following table.
Text String Processing Instructions
COUNTER WAIT CNTW 814 4 36.57 17.6 First execution
36.40 16.2 Normal execution
CNTWX 818 4 43.69 18.1 First execution
36.95 14.8 Normal execution
HIGH-SPEED
TIMER WAIT
TMHW 815 3 48.37 21.4 First execution
48.20 14.0 Normal execution
TMHWX 817 3 50.59 19.6 First execution
45.52 13.6 Normal execution
Loop Control LOOP 809 1 17.03 6.3 ---
Loop Control LEND (execu-
tion condition)
810 1 17.13 6.5 LEND condition satisfied
18.07 6.0 LEND condition not satisfied
Loop Control LEND (relay
number)
810 2 20.77 9.5 LEND condition satisfied
23.63 9.2 LEND condition not satisfied
Loop Control LEND NOT
(relay number)
810 2 23.43 9.9 LEND condition satisfied
20.97 9.5 LEND condition not satisfied
TIMER WAIT TIMW 813 3 48.40 19.5 Default setting
46.33 13.6 Normal execution
TIMWX 816 3 48.02 19.4 Default setting
47.09 13.5 Normal execution
Instruction Mnemonic Code Length
(steps)
(See note.)
ON execution
time (µs)
Conditions
CP1H CP1L
MOV STRING MOV$ 664 3 68.44 78.9 Transferring 1 character
CONCATENATE
STRING
+$ 656 4 145.10 146.0 1 character + 1 character
GET STRING LEFT LEFT$ 652 4 87.81 94.7 Retrieving 1 character from 2 char-
acters
GET STRING
RIGHT
RGHT$ 653 4 91.81 95.4 Retrieving 1 character from 2 char-
acters
GET STRING
MIDDLE
MID$ 654 5 94.77 97.2 Retrieving 1 character from 3 char-
acters
FIND IN STRING FIND$ 660 4 82.81 99.1 Searching for 1 character from 2
characters
STRING LENGTH LEN$ 650 3 32.61 38.4 Detecting 1 character
REPLACE IN
STRING
RPLC$ 661 6 269.43 289.7 Replacing the first of 2 characters
with 1 character
DELETE STRING DEL$ 658 5 114.00 254.5 Deleting the leading character of 2
characters
EXCHANGE
STRING
XCHG$ 665 3 108.54 138.7 Exchanging 1 character with 1
character
CLEAR STRING CLR$ 666 2 37.33 39.3 Clearing 1 character
INSERT INTO
STRING
INS$ 657 5 199.43 253.3 Inserting 1 character after the first
of 2 characters
Instruction Mnemonic Code Length (steps)
(See note.)
ON execution
time (µs)
Conditions
CP1H CP1L