Last change
on this file since 0170798 was 7bf3856, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Added Alcyon C reference output.
|
-
Property mode
set to
100644
|
File size:
501 bytes
|
Line | |
---|
1 | .globl _strccpy
|
---|
2 | .text
|
---|
3 | _strccpy:
|
---|
4 | ~~strccpy:
|
---|
5 | ~s1=R13
|
---|
6 | ~s2=R12
|
---|
7 | ~c=R7
|
---|
8 | link R14,#0
|
---|
9 | movem.l R5-R7/R11-R13,-(sp)
|
---|
10 | ~os1=R11
|
---|
11 | ~x=R6
|
---|
12 | *line 25
|
---|
13 | move.l 8(R14),R13
|
---|
14 | *line 25
|
---|
15 | move.l 12(R14),R12
|
---|
16 | *line 25
|
---|
17 | move.b 17(R14),R7
|
---|
18 | *line 25
|
---|
19 | move.l R13,R11
|
---|
20 | *line 27
|
---|
21 | bra L4
|
---|
22 | L3:
|
---|
23 | *line 28
|
---|
24 | move.b R6,(R12)+
|
---|
25 | L4:
|
---|
26 | *line 28
|
---|
27 | move.b R7,R0
|
---|
28 | ext.w R0
|
---|
29 | move.b (R13)+,R1
|
---|
30 | ext.w R1
|
---|
31 | move.b R1,R6
|
---|
32 | cmp R1,R0
|
---|
33 | bne L3
|
---|
34 | L2:
|
---|
35 | *line 30
|
---|
36 | move.l R11,R0
|
---|
37 | bra L1
|
---|
38 | L1:tst.l (sp)+
|
---|
39 | movem.l (sp)+,R6-R7/R11-R13
|
---|
40 | unlk R14
|
---|
41 | rts
|
---|
42 | .data
|
---|
Note:
See
TracBrowser
for help on using the repository browser.