SPRU513Z August 2001 – October 2023 SM320F28335-EP
The assembler supports relational operators that can be used in any expression; they are especially useful for conditional assembly. Relational operators include the following:
= | Equal to | ! = | Not equal to | |
< | Less than | <= | Less than or equal to | |
> | Greater than | > = | Greater than or equal to |
Conditional expressions evaluate to 1 if true and 0 if false and can be used only on operands of equivalent types; for example, absolute value compared to absolute value, but not absolute value compared to relocatable value.