Rev 102 | Rev 501 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 102 | Rev 205 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | 28 | ||
29 | .text |
29 | .text |
30 | 30 | ||
31 | .global memcpy |
31 | .global memcpy |
32 | memcpy: |
32 | memcpy: |
33 | /* |
- | |
34 | * Switch the role of first two arguments |
- | |
35 | */ |
- | |
36 | sub r33 = r33, r32 ;; |
- | |
37 | add r32 = r32, r33 ;; |
- | |
38 | sub r33 = r32, r33 |
- | |
39 | - | ||
40 | br _memcopy |
- | |
41 | - | ||
42 | .global memcopy |
- | |
43 | memcopy: |
- | |
44 | br _memcopy |
33 | br _memcpy |
45 | 34 | ||
46 | .global memsetb |
35 | .global memsetb |
47 | memsetb: |
36 | memsetb: |
48 | br _memsetb |
37 | br _memsetb |
49 | 38 |