0000
00
(096)
INBL 0500
(097)
DCBL 1200
0000
00
318
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+1 after execution.
Example When CIO 000000 is ON in the following example, the content of CIO 0500 and
CIO 0501 is incremented by 1 as a binary value.
Address Instruction Operands
00000 LD 000000
00001 INBL(096)
0500
Wd+1: CIO 0501 Wd: CIO 0500
+ 1
0
0 0 0 0 F F F F
Wd+1: CIO 0501 Wd: CIO 0500
0 0 0 1 0 0 0 0
N
5-22-8 DOUBLE DECREMENT BINARY: DCBL(097)
(097)
DCBL Wd
Wd: Word CIO, G, A, DM
Operand Data AreaLadder Symbol
Variations
j DCBL(097)
When the execution condition is OFF, DCBL(097) is not executed. When the ex-
ecution condition is ON, DCBL(097) decrements the 8-digit binary number con-
tained in Wd+1 and Wd, without affecting carry (CY). Wd+1 contains the 16
4
,
16
5
, 16
6
, and 16
7
digits.
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+1 after execution.
Example When CIO 000000 is ON in the following example, the content of CIO 1200 and
CIO 1201 is decremented by 1 as a binary value.
Address Instruction Operands
00000 LD 000000
00001 DCBL(097)
1200
Wd+1: CIO 1201 Wd: CIO 1200 Wd+1: CIO 1201 Wd: CIO 1200
0 0 0 1 0 0 0 0 0 0 0 0 F F F F
– 1
0
N
Description
Precautions
Increment/Decrement Instructions Section 5-22