Propeller Manual

Table Of Contents
3: Assembly Language Reference – CMP
Propeller Manual v1.1 · Page 273
If the WZ effect is specified, the Z flag is set (1) if Value1 equals Value2. If the WC effect is
specified, the C flag is set (1) if Value1 is less than Value2.
The result is not written unless the
WR effect is specified. If WR is specified, CMP becomes
exactly like a
SUB instruction.
To compare unsigned, multi-long values, use
CMP followed by CMPX. See CMPX on page 280
for more information..