Last change
on this file since de91266 was 4f508e6, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Converted assembly language files.
|
-
Property mode
set to
100644
|
File size:
304 bytes
|
Line | |
---|
1 |
|
---|
2 | | aldiv.s -- indirect long divide
|
---|
3 | | Version 1 -- 1989-01-24 -- D.N. Lynx Crowe
|
---|
4 |
|
---|
5 | .text
|
---|
6 |
|
---|
7 | .xdef aldiv
|
---|
8 | .xdef _aldiv
|
---|
9 |
|
---|
10 | .xref _ldiv
|
---|
11 |
|
---|
12 | aldiv:
|
---|
13 | _aldiv:
|
---|
14 |
|
---|
15 | link a6,#-2
|
---|
16 | move.l 12(a6),-(a7)
|
---|
17 | movea.l 8(a6),a0
|
---|
18 | move.l (a0),-(a7)
|
---|
19 | jsr _ldiv
|
---|
20 | cmpm.l (a7)+,(a7)+
|
---|
21 | movea.l 8(a6),a1
|
---|
22 | move.l d0,(a1)
|
---|
23 | unlk a6
|
---|
24 | rts
|
---|
25 |
|
---|
26 | .end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.