Flag bit: M8020 0: The result of addition and subtraction is not 0.
1: The result of addition and subtraction is 0.
: The summand.。
:Addend.
:And.
Add
and send the sum to
. The numbers participating in the operation are all unsigned 16-bit binary
numbers.
When the operation result is zero, M8020 is set. If the result of addition and subtraction is not zero, M8020 will be
cleared.
When X0 is ON, D0 and D10 are added together, and the result is stored in D20.
Flag bit: M8020 0: The result of addition and subtraction is not 0.
1: The result of addition and subtraction is 0.
: Subtracted.
: Minus.
: Poor.
Subtract
from
, and send the difference to
. The numbers participating in the operation are all
positive integers, so
>=
is required.
When the operation result is zero, M8020 is set. If the result of addition and subtraction is not zero, M8020 will be
cleared.