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