Last change
on this file since 73dd55f was 7bf3856, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Added Alcyon C reference output.
|
-
Property mode
set to
100644
|
File size:
672 bytes
|
Line | |
---|
1 | .globl _mangle
|
---|
2 | .text
|
---|
3 | _mangle:
|
---|
4 | ~~mangle:
|
---|
5 | ~bitmap=R13
|
---|
6 | ~nb=R7
|
---|
7 | ~ib=R6
|
---|
8 | link R14,#0
|
---|
9 | movem.l R2-R7/R13-R13,-(sp)
|
---|
10 | ~bm=R5
|
---|
11 | ~rv=R4
|
---|
12 | ~bn=R3
|
---|
13 | *line 32
|
---|
14 | move.l 8(R14),R13
|
---|
15 | *line 32
|
---|
16 | move 12(R14),R7
|
---|
17 | *line 32
|
---|
18 | move.l 14(R14),R6
|
---|
19 | *line 32
|
---|
20 | move.l #$1,R5
|
---|
21 | *line 33
|
---|
22 | clr.l R4
|
---|
23 | *line 35
|
---|
24 | clr R3
|
---|
25 | bra L4
|
---|
26 | L5:
|
---|
27 | *line 36
|
---|
28 | *line 37
|
---|
29 | *line 38
|
---|
30 | move.l R6,R0
|
---|
31 | and.l R5,R0
|
---|
32 | beq L6
|
---|
33 | *line 38
|
---|
34 | move.l R13,R8
|
---|
35 | move R3,R9
|
---|
36 | add.l R9,R9
|
---|
37 | add.l R9,R9
|
---|
38 | add.l R9,R8
|
---|
39 | move.l (R8),R0
|
---|
40 | or.l R0,R4
|
---|
41 | *line 39
|
---|
42 | L6:
|
---|
43 | *line 40
|
---|
44 | asl.l #$1,R5
|
---|
45 | L3:
|
---|
46 | *line 35
|
---|
47 | add #1,R3
|
---|
48 | L4:
|
---|
49 | *line 35
|
---|
50 | cmp R7,R3
|
---|
51 | blt L5
|
---|
52 | L2:
|
---|
53 | *line 43
|
---|
54 | move.l R4,R0
|
---|
55 | bra L1
|
---|
56 | L1:tst.l (sp)+
|
---|
57 | movem.l (sp)+,R3-R7/R13-R13
|
---|
58 | unlk R14
|
---|
59 | rts
|
---|
60 | .data
|
---|
Note:
See
TracBrowser
for help on using the repository browser.