INC(090) - Increment BCD
Purpose:
Increments Wd by the operand by 1, without affecting Carry (CY).
Further information can be found in BCD calculations.
Operand Data Areas:
Wd: Increment word CIO, G, A, DM, DR, IR
Examples of the use of INC instruction :
If 0000.00=ON Then Increments D00000 by the operand by 1
with Differentiate Up
If 0000.00=ON Then D00000=1
If 0000.00=OFF Then D00000=1
If 0000.00=ON Then D00000=2
If 0000.00=OFF Then D00000=2, etc.