101
Instruction Support and Operand Restrictions
Section 2-6
2-6-31 Text String Processing Instructions
Instruction
Mnemonic
Function
code
Symbol
Operands
Supported
variable
data types
AT
setting or
array
variable
required
(Required
word data
size
shown in
parenthe-
ses.)
MOV STRING
MOV$
@MOV$
664
S: 1st source word
UINT
Yes (not
fixed)
D: 1st destination
word
UINT
Yes (not
fixed)
CONCATENATE
STRING
+$
@+$
656
S1: Text string 1
INT
Yes (not
fixed)
S2: Text string 2
INT
Yes (not
fixed)
D: First destination
word
INT
Yes (not
fixed)
GET STRING LEFT
LEFT$
@LEFT$
652
S1: Text string first
word
UINT
Yes (not
fixed)
S2: Number of
characters
UINT
---
D: First destination
word
UINT
Yes (not
fixed)
GET STRING
RIGHT
RGHT$
@RGHT$
653
S1: Text string first
word
UINT
Yes (not
fixed)
S2: Number of
characters
UINT
---
D: First destination
word
UINT
Yes (not
fixed)
GET STRING MID-
DLE
MID$
@MID$
654
S1: Text string first
word
UINT
Yes (not
fixed)
S2: Number of
characters
UINT
---
S3: Beginning posi-
tion
UINT
---
D: First destination
word
UINT
Yes (not
fixed)
FIND IN STRING
FIND$
@FIND$
660
S1: Source text
string first word
UINT
Yes (not
fixed)
S2: Found text
string first word
UINT
Yes (not
fixed)
D: First destination
word
UINT
---
STRING LENGTH
LEN$
@LEN$
650
S: Text string first
word
UINT
Yes (not
fixed)
D: 1st destination
word
UINT
---
MOV$
S
D
+$
S1
S2
D
LEFT$
S1
S2
D
RGHT$
S1
S2
D
MID$
S1
S2
S3
D
FIND$
S1
S2
D
LEN$
S
D
Содержание CS1-H Series
Страница 3: ...iv...
Страница 5: ...vi...
Страница 7: ...viii TABLE OF CONTENTS...
Страница 15: ...xvi Application Precautions 4...
Страница 151: ...136 Procedures Section 3 2...
Страница 153: ...138 Data Types Appendix A...
Страница 177: ...162 External Variables Appendix C...
Страница 181: ...166 Revision History...