Last change
on this file since 908b6ab was 7bf3856, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Added Alcyon C reference output.
|
-
Property mode
set to
100644
|
File size:
347 bytes
|
Line | |
---|
1 | .globl _unlink
|
---|
2 | .text
|
---|
3 | _unlink:
|
---|
4 | ~~unlink:
|
---|
5 | ~name=8
|
---|
6 | link R14,#-60
|
---|
7 | ~delfcb=-56
|
---|
8 | *line 33
|
---|
9 | *line 34
|
---|
10 | move.l R14,(sp)
|
---|
11 | add.l #-56,(sp)
|
---|
12 | move.l 8(R14),-(sp)
|
---|
13 | jsr _fcbinit
|
---|
14 | addq.l #4,sp
|
---|
15 | tst R0
|
---|
16 | beq L2
|
---|
17 | *line 34
|
---|
18 | move #-1,R0
|
---|
19 | bra L1
|
---|
20 | *line 35
|
---|
21 | *line 43
|
---|
22 | L2:
|
---|
23 | *line 44
|
---|
24 | move.l R14,(sp)
|
---|
25 | add.l #-56,(sp)
|
---|
26 | jsr _DelFile
|
---|
27 | bra L1
|
---|
28 | L1:unlk R14
|
---|
29 | rts
|
---|
30 | .data
|
---|
Note:
See
TracBrowser
for help on using the repository browser.