Last change
on this file since 526a993 was 7bf3856, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Added Alcyon C reference output.
|
-
Property mode
set to
100644
|
File size:
364 bytes
|
Line | |
---|
1 | .globl _strcpy
|
---|
2 | .text
|
---|
3 | _strcpy:
|
---|
4 | ~~strcpy:
|
---|
5 | ~s1=R13
|
---|
6 | ~s2=R12
|
---|
7 | link R14,#0
|
---|
8 | movem.l R7-R7/R11-R13,-(sp)
|
---|
9 | ~os1=R11
|
---|
10 | *line 17
|
---|
11 | move.l 8(R14),R13
|
---|
12 | *line 17
|
---|
13 | move.l 12(R14),R12
|
---|
14 | *line 17
|
---|
15 | move.l R13,R11
|
---|
16 | *line 19
|
---|
17 | bra L4
|
---|
18 | L3:L4:
|
---|
19 | *line 20
|
---|
20 | move.b (R12)+,(R13)+
|
---|
21 | bne L3
|
---|
22 | L2:
|
---|
23 | *line 22
|
---|
24 | move.l R11,R0
|
---|
25 | bra L1
|
---|
26 | L1:tst.l (sp)+
|
---|
27 | movem.l (sp)+,R11-R13
|
---|
28 | unlk R14
|
---|
29 | rts
|
---|
30 | .data
|
---|
Note:
See
TracBrowser
for help on using the repository browser.