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:
419 bytes
|
Line | |
---|
1 | .globl _memsetw
|
---|
2 | .text
|
---|
3 | _memsetw:
|
---|
4 | ~~memsetw:
|
---|
5 | ~sp=R13
|
---|
6 | ~w=R7
|
---|
7 | ~n=R6
|
---|
8 | link R14,#0
|
---|
9 | movem.l R5-R7/R12-R13,-(sp)
|
---|
10 | ~sp0=R12
|
---|
11 | *line 15
|
---|
12 | move.l R13,R12
|
---|
13 | *line 17
|
---|
14 | move.l 8(R14),R13
|
---|
15 | *line 17
|
---|
16 | move 12(R14),R7
|
---|
17 | *line 17
|
---|
18 | move 14(R14),R6
|
---|
19 | *line 17
|
---|
20 | bra L4
|
---|
21 | L3:
|
---|
22 | *line 18
|
---|
23 | move R7,(R13)+
|
---|
24 | L4:
|
---|
25 | *line 18
|
---|
26 | sub #1,R6
|
---|
27 | bge L3
|
---|
28 | L2:
|
---|
29 | *line 20
|
---|
30 | move.l R12,R0
|
---|
31 | bra L1
|
---|
32 | L1:tst.l (sp)+
|
---|
33 | movem.l (sp)+,R6-R7/R12-R13
|
---|
34 | unlk R14
|
---|
35 | rts
|
---|
36 | .data
|
---|
Note:
See
TracBrowser
for help on using the repository browser.