(a)
Area in which the string to be searched for is
stored
(b) String table that is searched
(1) Character count (2) Number of matching strings
(3) Relative position of matching string
(Note 1) Using the low byte of DT11 at the beginning of the string table as a reference, the relative position of
the low byte of DT13 is calculated as a value 5, based on where it matches with string "EFG".
Example 2) When the string "EF" being searched for is found in two locations on the
string table after DT11
[S1]...DT0 [S2]...DT10 [S2]...DT120
(a)
Area in which the string to be searched for is
stored
(b) String table that is searched
(1) Character count (2) Number of matching strings
(3)
Relative position of matching string
(Note 1)
(Note 1) Using the low byte of DT11 at the beginning of the string table as a reference, the relative position for
the low byte of DT12 is calculated as a value 3, based on where it matches with string "EF" first.
■
Precautions for programming
For [S1], the number of characters to search for in a string, specify the number of characters to
be searched for.
In the following figure, 1 is specified for the number of characters, and the string "A" is searched
for. When 2 is specified for the number of characters, the string "AB" is searched for.
(1) Character count
14.20 SSRC (String Search)
14-90 WUME-FP7CPUPGR-12