CMATCH Examples
Example 1:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ABCDE····· |
|
|
|
|
|
|
FEDCBA·· |
|
| |||||
|
|
| ||||
The EQUAL (or ZERO) Condition Flag is set.
Example 2:
|
|
|
|
|
|
|
|
|
|
|
|
|
ABCDE····· |
|
|
|
|
|
|
FEDCBA·· |
|
| |||||
|
|
| ||||
No Condition Flags are set (all FALSE). The destination character (E) is neither equal nor less than the source character (D).
Example 3:
|
|
|
|
|
|
|
|
|
|
|
|
|
ABCDE····· |
|
|
|
|
|
|
FEDCBA·· |
|
| |||||
|
|
| ||||
The LESS Condition Flag is set. The destination character (B) is less than the source character (C).
Example 4:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FEDCBA·· |
|
| |||||
|
|
| ||||
The EQUAL (or ZERO) Condition Flag is set.
Example 5:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FEDCBA·· |
|
| |||||
|
|
| ||||
The LESS Condition Flag is set. The octal 0107 represents the letter `G'.
Example 6:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AB#CDE····· |
|
| |||||
|
|
| ||||
The EQUAL (or ZERO) Condition Flag is set.
![]() |