Example 4) Comparing the NULL character and the empty string that are stored in
the data register
[S1]...DT0 [S2]...DT10 SRA...ON SRB...OFF SRC...OFF
(1) Storage area size (2) Character count
■
Flag operations
Name Description
SR7
SR8
(ER)
To be set in the case of out-of-range in indirect access (index modification).
To be set when the storage areas specified by S1 and S2 are out of the accessible range.
To be set when the number of characters is larger than the storage area size for each
operand.
To be set when a data table with a storage area size of 0 or 65535 is specified.
SRA (>), SRB (=)
SRC (<)
Depending on the comparison result
14.29 ESCMP (String Compare: With Storage Area Size)
WUME-FP7CPUPGR-12 14-121