A compare operation compares the contents of a specified GPRM to another
GPRM, SPRM or a constant value. Depending upon the result of the comparison,
the command associated with the compare operation is executed or skipped.
Compare operations enable the DVD player to perform conditional branching.
For example, if the value in GPRM 2 equals the value in SPRM 9, then play
title 12.
The following operators can be used in a compare operations. One of the operands
must be a GPRM register. The other operand can be a GPRM, a SPRM, or a constant
value.
| Operator |
Description |
| & |
If the result of a logical AND is not equal to zero
(true), the associated command is executed. |
| = = |
If the contents of the operands are equal,
the associated command is executed. |
| ! = |
If the contents of the operands are not equal,
the associated command is executed. |
| > = |
If the first operand is greater or equal to
the second operand, the associated command is executed. |
| > |
If the first operand is greater than
the second operand,the associated command is executed. |
| < = |
If the first operand is less or equal to
the second operand,the associated command is executed. |
| < |
If the first operand is less than
the second operand,the associated command is executed. |
