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
■
Flag operations
Name
SR7
SR8
(ER)
SRA (>), SRB (=)
SRC (<)
WUME-FP7CPUPGR-12
14.29 ESCMP (String Compare: With Storage Area Size)
Description
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.
Depending on the comparison result
(2)
Character count
14-121