14.29 ESCMP (String Compare: With Storage Area Size)
● If "NULL" is included in the comparison, it is processed as follows.
NULL
NULL
■
Processing
Example 1) Comparing strings "ABCD" and "ABCDE", which are stored in the data
register
[S1]...DT0 [S2]...DT10 SRA...OFF SRB...OFF SRC...ON
Example 2) Comparing the string "ABCD" that is stored in the data register with the
character constants "ABCDE" that are specified for the operand
[S1]...DT0 [S2]..."ABCD" SRA...OFF SRB...ON SRC...OFF
Example 3) Comparing the NULL characters that are stored in the data register
[S1]...DT0 [S2]...DT10 SRA...OFF SRB...ON SRC...OFF
14-120
[S1]
"B"
=
<
>
[S2]
NULL
"ABCDE"
NULL
WUME-FP7CPUPGR-12