476
Instruction Execution Times and Number of Steps Section 10-5
Note 1. When a double-length operand is used, add 1 to the value shown in the
length column in the following table.
2. CJ1-H-R CPU Units only.
10-5-5 Comparison Instructions
Instruction Mnemonic Code Length
(steps)
(See
note 1.)
ON execution time (
µs) Conditions
CPU6@H-R CPU6@HCPU4@HCPU4@ CJ1M
excluding
CPU11/21
CJ1M
CPU11/21
Input Comparison
Instructions
(unsigned)
LD, AND,
OR +=
300 4 0.08 0.10 0.16 0.37 0.35 0.35 ---
LD, AND,
OR + <>
305
LD, AND,
OR + <
310
LD, AND,
OR +<=
315
LD, AND,
OR +>
320
LD, AND,
OR +>=
325
Input Comparison
Instructions (dou-
ble, unsigned)
LD, AND,
OR +=+L
301 4 0.08 0.10 0.16 0.54 0.35 0.35 ---
LD, AND,
OR +<>+L
306
LD, AND,
OR +<+L
311
LD, AND,
OR +<=+L
316
LD, AND,
OR +>+L
321
LD, AND,
OR +>=+L
326
Input Comparison
Instructions
(signed)
LD, AND,
OR +=+S
302 4 0.08 0.10 0.16 6.50 0.35 0.35 ---
LD, AND,
OR +<>+S
307
LD, AND,
OR +<+S
312
LD, AND,
OR +<=
317
LD, AND,
OR +>+S
322
LD, AND,
OR +>=+S
327
Input Comparison
Instructions (dou-
ble, signed)
LD, AND,
OR +=+SL
303 4 0.08 0.10 0.16 6.50 0.35 0.35 ---
LD, AND,
OR
+<>+SL
308
LD, AND,
OR +<+SL
313
LD, AND,
OR
+<=+SL
318
LD, AND,
OR +>+SL
323
LD, AND,
OR
+>=+SL
328
Time Comparison
Instructions
(See note 2.)
=DT 341 4 25.1 25.1 36.4 --- 18.8 39.6 ---
<>DT 342 4 25.2 25.2 36.4 --- 45.6 40.6 ---
<DT 343 4 25.2 25.2 36.4 --- 45.6 40.7 ---
<=DT 344 4 25.2 25.2 36.4 --- 18.8 39.6 ---
>DT 345 4 25.1 25.1 36.4 --- 45.6 41.1 ---
>=DT 346 4 25.2 25.2 36.4 --- 18.8 39.6 ---
COMPARE CMP 020 3 0.032 0.04 0.04 0.29 0.10 0.10 ---
!CMP 020 7 +42.1 42.1 42.1 42.4 +45.2 45.2 Increase for imme-
diate refresh