327
First the original numbers must be placed in floating-point form. Because the
numbers are originally without decimal points, the exponent will be 4 (e.g., 3452
would equal 0.3452 x 10
4
). All of the moves are to place the proper data into con-
secutive words for the final division, including the exponent and zeros. Data
movements for Dd and Dd+1 are shown at the right below. Movements for Dr
and Dr+1 are basically the same.The original values to be divided are in D00000
and D00001. The final division is also shown.
D00000
3452
D00101 D00100
0000
0000
D00101 D00100
40000000
4000
D00101 D00100
43450000
D00000
3452
D00101 D00100
43452000
D00101 D00100
43452000
D00103 D00102
40079000
D00003 D00002
24369620
÷
0.4369620 x 10
2
00000 LD 000000
00001 jMOV(030)
#0000
D00100
00002 jMOV(030)
#0000
D00102
00003 jMOV(030)
#4000
D00101
00004 jMOV(030)
#4000
D00103
00005 jMOVD(043)
D00000
#0021
D00101
00006 jMOVD(043)
D00000
#0300
D00100
00007 jMOVD(043)
D00001
#0021
D00103
00008 jMOVD(043)
D00001
#0300
D00102
00009 jFDIV(141)
D00100
D00102
D00002
Address Instruction Operands
(030)
jMOV #0000 D00100
(030)
jMOV #0000 D00102
(030)
jMOV #4000 D00101
(030)
jMOV #4000 D00103
(043)
jMOVD D00000 #0021 D00101
(043)
jMOVD D00001 #0021 D00103
(043)
jMOVD D00001 #0300 D00102
(141)
jFDIV D00100 D00102 D00002
0000
00
(043)
jMOVD D00000 #0300 D00100
Special Math Instructions Section 5-23