![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268149.webp)
110
Instruction Functions
Section 2-2
EXCHANGE
STRING
XCHG$
@XCHG$
665
Output
Required
1243
CLEAR STRING
CLR$
@CLR$
666
Output
Required
1246
INSERT INTO
STRING
INS$
@INS$
657
Output
Required
1247
String Compari-
son
LD, AND, OR +
=$, <>$, <$, <=$,
>$, >=$
670 (=$)
671 (<>$)
672 (<$)
673 (<=$)
674 (>$)
675 (>=$)
Sting comparison instructions (=$, <>$, <$, <=$, >$, >=$) compare two
text strings from the beginning, in terms of value of the ASCII codes. If
the result of the comparison is true, an ON execution condition is cre-
ated for a LOAD, AND, or OR.
LD: Not
required
AND, OR:
Required
1251
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
XCHG$(665)
Ex1
Ex2
Ex1
: 1st
exchange word 1
Ex2
: 1st
exchange word 2
Ex1
Ex1
Ex2
Ex2
Replaces a designated text string with another designated text string.
CLR$(666)
S
S
: Text string first
word
S
S
A
B
C
D
NUL
NUL
→
→
Clears an entire text string with NUL (00 hex).
INS$(657)
S1
S2
S3
D
S1
: Base text
string first word
S2
: Inserted text
string first word
S3
: Beginning
position
D
:
First
destination word
NUL
→
→
→
Inserted
characters
Deletes a designated text string from the middle of a text string.
LD
AND
OR
S1
S2
S1
S2
S1
S2
Symbol
Symbol
Symbol
S1
: Text string 1
S2
: Text string 2
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...