Increment Binary (INCB)
The Increment Binary instruction increments a binary value
230
in a specified V-memory location by "1" each time the
240
instruction is executed.
250-1
260
DS
Used
HPP Used
Operand Data Type
A
V-memory
V
All (See page 3 - 53)
Pointer
P
Discrete Bit Flags
SP63
NOTE: The status flags are only valid until another instruction that uses the same flags is executed.
In the following example when C5 is on, the binary value in V2000 is increased by 1.
DirectSOFT
C5
INCB
V2000
Increment the binary value
in V2000 by "1"
DL230 Range
DL240 Range
aaa
All (See page 3 - 54)
All V-memory
-
(See page 3 - 54)
On when the result of the instruction causes the value in the accumulator to be zero.
V2000
Handheld Programmer Keystrokes
4
A
3
C
$
STR
SHFT
V2000
4
A
3
D
Chapter 5: Standard RLL Instructions - Math
DL250-1 Range
aaa
aaa
All (See page 3 - 55)
All V-memory
(See page 3 - 55)
Description
C
F
SHFT
ENT
2
5
I
N
C
B
8
TMR
2
1
DL205 User Manual, 4th Edition, Rev. B
INCB
A aaa
DL260 Range
aaa
All (See page 3 - 56)
All V-memory
(See page 3 - 56)
C
A
A
A
ENT
2
0
0
0
5–107
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Need help?
Do you have a question about the DirectLOGIC DL205 Series and is the answer not in the manual?