DL205 User Manual, 4th Edition, Rev. B
5–108
Chapter 5: Standard RLL Instructions - Math
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Decrement Binary (DECB)
The Decrement Binary instruction decrements a binary
value in a specified V-memory location by “1” each time the
instruction is executed.
NOTE:
The status flags are only valid until another instruction that uses the same flag is executed.
In the following example when C5 is on, the value in V2000 is decreased by 1.
þ
þ
þ
þ
230
240
250-1
260
Handheld Programmer Keystrokes
Direct
SOFT
C5
DECB
V2000
D
e
c
rement the
bi
nary
v
al
u
e
i
n
V2000
b
y
“1”
V2000
4 A 3 C
?
V2000
4 A 3 B
?
STR
$
2
C
5
F
S
H
FT
ENT
S
H
FT
2
C
3
D
4
E
1
B
2
C
0
A
0
A
0
A
ENT
CV
P
3
D
S
H
FT
Discrete Bit Flags
Description
SP63
On when the result of the instruction causes the value in the accumulator to be zero.
Operand Data Type
DL230 Range
DL240 Range
DL250-1 Range
DL260 Range
A
aaa
aaa
aaa
aaa
V-memory V
All (See page 3 - 53)
All (See page 3 - 54)
All (See page 3 - 55)
All (See page 3 - 56)
Pointer P
-
All V-memory
(See page 3 - 54)
All V-memory
(See page 3 - 55)
All V-memory
(See page 3 - 56)
DS
Used
HPP Used
A aaa
DECB