IBM 1620 1 Manual page 26

Table of Contents

Advertisement

§
-0
~ ~
0-
§
0-
Instruction
Description
00650
§ § §
0
-
29 00098 00650
Divide {Incorrect P Address}
19
2 0
2
3 0
- 1
9
0
0 4
-
1
9
---
9
8
5
+
1
9
---
0
0 4
-~
Figure 18.
Division Error, Incorrect Programming
Summary of
Automatic Division Rules
22
1. Decimal point location: the number of divi-
dend decimal digits minus the number of
divisor decimal digits equals the number of
quotient decimal digits (decimal digits are
those digits to the right of the assumed deci-
mal point).
2. Dividend position (P address of LD instruc-
tion): determined by the number of quotient
digits desired. An anaylsis of the problem and
its relationship to these rules is necessary.
3. First subtraction (P address of divide ins truc-
2
2
1
0 4
0
II--
-
1 9
0
2 1
- 1
9
- - -
0
0 2
-
1 9
---
9
8
3
+-
1 9
---
0 0 2
-,....,
0
1 2
~
2
tion): 00100 minus the length of the quotient
(the minimum length of the quotient is gen-
erally the length of the dividend).
4. Quotient length: 100 minus the P address
(minimum of 2).
5.
Quotient address: 00099 minus the length of
the divisor.
6. Remainder length: same as divisor length.
7. Remainder address: 00099 ( assuming divi-
dend at 00099).
-
8. Sign of quotient: determined by algebraic
signs of dividend and divisor.
9. Sign of remainder: same as sign of dividend.

Advertisement

Table of Contents
loading

Table of Contents