source: buchla-68k/lib700/alrem.s@ cd1d0db

Last change on this file since cd1d0db was 4f508e6, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Converted assembly language files.

  • Property mode set to 100644
File size: 354 bytes
Line 
1
2| alrem.s -- indirect long modulus
3| Version 1 -- 1989-01-24 -- D.N. Lynx Crowe
4
5 .text
6
7 .xdef alrem
8 .xdef _alrem
9
10 .xref _ldiv
11 .xref _ldivr
12
13alrem:
14_alrem:
15
16 link a6,#-2
17 move.l 12(a6),-(a7)
18 movea.l 8(a6),a0
19 move.l (a0),-(a7)
20 jsr _ldiv
21 cmpm.l (a7)+,(a7)+
22 move.l _ldivr,d0
23 movea.l 8(a6),a1
24 move.l d0,(a1)
25 unlk a6
26 rts
27
28 .end
Note: See TracBrowser for help on using the repository browser.