(091)
DEC D00010
0000
00
(092)
INCB D00010
0000
00
315
Example When CIO 000000 is ON in the following example, the content of D00010 is
decremented by 1 as a BCD value.
Address Instruction Operands
00000 LD 000000
00001 DEC(091)
D00010
1234
D00010
1233
D00010
– 1
5-22-3 INCREMENT BINARY: INCB(092)
(092)
INCB Wd
Wd: Word CIO, G, A, DM, DR, IR
Operand Data AreaLadder Symbol
Variations
j INCB(092)
When the execution condition is OFF, INCB(092) is not executed. When the ex-
ecution condition is ON, INCB(092) increments Wd, without affecting carry (CY).
INCB(092) works the same way as INC(090) except that it increments a binary
value instead of a BCD value.
Refer to page 115 for general precautions on operand data areas.
Flags ER (A50003): Content of *DM word is not BCD when set for BCD.
EQ (A50006): The result is 0.
N (A50008): Shows the status of bit 15 of Wd after execution.
Example When CIO 000000 is ON in the following example, the content of D00010 is in-
cremented by 1 as a binary value.
Address Instruction Operands
00000 LD 000000
00001 INCB(092)
D00010
2A5F
D00010
2A60
D00010
+ 1
0
N
Description
Precautions
Increment/Decrement Instructions Section 5-22