Last change
on this file since 4810254 was 7bf3856, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Added Alcyon C reference output.
|
-
Property mode
set to
100644
|
File size:
1.6 KB
|
Line | |
---|
1 | .globl _FilName
|
---|
2 | .text
|
---|
3 | _FilName:
|
---|
4 | ~~FilName:
|
---|
5 | ~s=R13
|
---|
6 | ~p=R12
|
---|
7 | link R14,#0
|
---|
8 | movem.l R6-R7/R11-R13,-(sp)
|
---|
9 | ~tp=R11
|
---|
10 | ~i=R7
|
---|
11 | *line 29
|
---|
12 | move.l 8(R14),R13
|
---|
13 | *line 29
|
---|
14 | move.l 12(R14),R12
|
---|
15 | *line 29
|
---|
16 | move.l R12,R11
|
---|
17 | *line 31
|
---|
18 | clr R7
|
---|
19 | bra L4
|
---|
20 | L5:
|
---|
21 | *line 32
|
---|
22 | *line 33
|
---|
23 | *line 33
|
---|
24 | tst.b (R13)
|
---|
25 | beq L6
|
---|
26 | *line 34
|
---|
27 | *line 35
|
---|
28 | *line 36
|
---|
29 | cmp.b #46,(R13)
|
---|
30 | beq L2
|
---|
31 | *line 37
|
---|
32 | *line 38
|
---|
33 | move.b (R13)+,(R12)+
|
---|
34 | *line 39
|
---|
35 | bra L7
|
---|
36 | L6:
|
---|
37 | *line 40
|
---|
38 | *line 41
|
---|
39 | *line 42
|
---|
40 | clr.b (R12)
|
---|
41 | *line 43
|
---|
42 | move.l R11,R0
|
---|
43 | bra L1
|
---|
44 | L7:
|
---|
45 | *line 44
|
---|
46 | L3:
|
---|
47 | *line 31
|
---|
48 | add #1,R7
|
---|
49 | L4:
|
---|
50 | *line 31
|
---|
51 | cmp #8,R7
|
---|
52 | blt L5
|
---|
53 | L2:
|
---|
54 | *line 47
|
---|
55 | clr.b (R12)
|
---|
56 | *line 48
|
---|
57 | move.l R11,R0
|
---|
58 | bra L1
|
---|
59 | L1:tst.l (sp)+
|
---|
60 | movem.l (sp)+,R7-R7/R11-R13
|
---|
61 | unlk R14
|
---|
62 | rts
|
---|
63 | .globl _FilExt
|
---|
64 | .text
|
---|
65 | _FilExt:
|
---|
66 | ~~FilExt:
|
---|
67 | ~s=R13
|
---|
68 | ~p=R12
|
---|
69 | link R14,#0
|
---|
70 | movem.l R5-R7/R11-R13,-(sp)
|
---|
71 | ~c=R7
|
---|
72 | ~tp=R11
|
---|
73 | ~i=R6
|
---|
74 | *line 69
|
---|
75 | move.l 8(R14),R13
|
---|
76 | *line 69
|
---|
77 | move.l 12(R14),R12
|
---|
78 | *line 69
|
---|
79 | move.l R12,R11
|
---|
80 | *line 71
|
---|
81 | bra L11
|
---|
82 | L10:
|
---|
83 | *line 72
|
---|
84 | *line 73
|
---|
85 | *line 73
|
---|
86 | cmp.b #46,R7
|
---|
87 | bne L12
|
---|
88 | *line 74
|
---|
89 | *line 75
|
---|
90 | add.l #1,R13
|
---|
91 | *line 76
|
---|
92 | *line 77
|
---|
93 | clr R6
|
---|
94 | bra L15
|
---|
95 | L16:
|
---|
96 | *line 78
|
---|
97 | *line 79
|
---|
98 | *line 79
|
---|
99 | tst.b (R13)
|
---|
100 | beq L17
|
---|
101 | *line 80
|
---|
102 | *line 81
|
---|
103 | move.b (R13)+,(R12)+
|
---|
104 | *line 82
|
---|
105 | bra L18
|
---|
106 | L17:
|
---|
107 | *line 83
|
---|
108 | *line 84
|
---|
109 | *line 85
|
---|
110 | clr.b (R12)
|
---|
111 | *line 86
|
---|
112 | move.l R11,R0
|
---|
113 | bra L8
|
---|
114 | L18:
|
---|
115 | *line 87
|
---|
116 | L14:
|
---|
117 | *line 77
|
---|
118 | add #1,R6
|
---|
119 | L15:
|
---|
120 | *line 77
|
---|
121 | cmp #3,R6
|
---|
122 | blt L16
|
---|
123 | L13:
|
---|
124 | *line 88
|
---|
125 | *line 89
|
---|
126 | *line 90
|
---|
127 | clr.b (R12)
|
---|
128 | *line 91
|
---|
129 | move.l R11,R0
|
---|
130 | bra L8
|
---|
131 | *line 92
|
---|
132 | bra L19
|
---|
133 | L12:
|
---|
134 | *line 93
|
---|
135 | *line 94
|
---|
136 | *line 95
|
---|
137 | add.l #1,R13
|
---|
138 | L19:
|
---|
139 | *line 96
|
---|
140 | L11:
|
---|
141 | *line 97
|
---|
142 | move.b (R13),R7
|
---|
143 | bne L10
|
---|
144 | L9:
|
---|
145 | *line 99
|
---|
146 | clr.b (R12)
|
---|
147 | *line 100
|
---|
148 | move.l R11,R0
|
---|
149 | bra L8
|
---|
150 | L8:tst.l (sp)+
|
---|
151 | movem.l (sp)+,R6-R7/R11-R13
|
---|
152 | unlk R14
|
---|
153 | rts
|
---|
154 | .data
|
---|
Note:
See
TracBrowser
for help on using the repository browser.