(083)
DVB 0007 D00100 D00101
0000
02
266
Note Refer to page 115 for general precautions on operand data areas.
Flags ER (A50003): Dr contains 0.
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 R.
Example When CIO 000002 is ON in the following example, the four-digit hexadecimal
content of CIO 0007 is divided by the four-digit hexadecimal content of D00100.
The quotient is stored in D00101 with the remainder stored in D00102.
Note If the content of the divisor word D00101 is zero, the Error Flag (bit A50003) is
set and the instruction is not executed.
Address Instruction Operands
00000 LD 000002
00001 DVB(083)
0007
D00100
D00101
02AA
D00101
0FFF
0007
0003
D00102
0006
D00100
Quotient Remainder
5-19-5 DOUBLE BINARY ADD: ADBL(084)
Variations
j ADBL(084)
(084)
ADBL Au Ad R
Operand Data AreasLadder Symbol
Au: 1
st
augend word CIO, G, A, T, C, #, DM
R: 1
st
result word CIO, G, A, DM
Ad: 1
st
addend word CIO, G, A, T, C, #, DM
When the execution condition is OFF, ADBL(084) is not executed. When the
execution condition is ON, ADBL(084) adds the 8-digit content of Au+1 and Au,
the 8-digit content of Ad+1 and Ad, and CY, and places the result in R. CY will be
set if the result is greater than FFFF FFFF.
Au + 1 Au
Ad + 1 Ad
R + 1 R
+
CY
CY
Note With version-2 CVM1 CPUs, mathematics instructions can use symbols. The
instructions corresponding to ADB(080) and ADBL(084) are +C(402) and
+C(403). In addition, Overflow (OF) and Underflow (UF) Flags are added.
Description
Binary Calculation Instructions Section 5-19