2.2 Function instruction
Detailed function instructions
Binary addition operation
Binary subtraction operation
Binary division operation
Source operand
:The comparison value is 1. Source operand
:The comparison value is 2. Source operand
:Comparing results.
Show the comparison result of
through
.
The numbers to be compared are all unsigned 16-bit binary numbers.
If the target points to M0, it will automatically occupy M0~M2.
CMP instruction is executed when X0 is ON. CMP is not executed when X0 is OFF, and the state remains as before X0 is
OFF.