![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268147.webp)
108
Instruction Functions
Section 2-2
2-2-31 Text String Processing Instructions
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
MOV STRING
MOV$
@MOV$
664
Output
Required
1222
CONCATENATE
STRING
+$
@+$
656
Output
Required
1224
GET STRING
LEFT
LEFT$
@LEFT$
652
Output
Required
1227
GET STRING
RIGHT
RGHT$
@RGHT$
653
Output
Required
1229
GET STRING
MIDDLE
MID$
@MID$
654
Output
Required
1231
MOV$(664)
S
D
S
: 1st source
word
D
: 1st destination
word
Transfers a text string.
+$(656)
S1
S2
D
S1
: Text string 1
S2
: Text string 2
D
:
First
destination word
+
Links one text string to another text string.
→
→
→
→
LEFT$(652)
S1
S2
D
S1
: Text string
first word
S2
: Number of
characters
D
:
First
destination word
Fetches a designated number of characters from the left (beginning)
of a text string.
RGHT$(653)
S1
S2
D
S1
: Text string
first word
S2
: Number of
characters
D
:
First
destination word
00
Reads a designated number of characters from the right (end) of a
text string.
MID$(654)
S1
S2
S3
D
S1
: Text string
first word
S2
: Number of
characters
S3
: Beginning
position
D
:
First
destination word
→
→
Reads a designated number of characters from any position in the
middle of a text string.
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...