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:
483 bytes
|
Line | |
---|
1 | .globl _errno
|
---|
2 | .globl __conwr
|
---|
3 | .text
|
---|
4 | __conwr:
|
---|
5 | ~~_conwr:
|
---|
6 | ~buff=R13
|
---|
7 | ~kind=8
|
---|
8 | ~len=14
|
---|
9 | link R14,#0
|
---|
10 | movem.l R6-R7/R13-R13,-(sp)
|
---|
11 | ~count=R7
|
---|
12 | *line 29
|
---|
13 | move.l 10(R14),R13
|
---|
14 | *line 29
|
---|
15 | clr R7
|
---|
16 | bra L4
|
---|
17 | L5:
|
---|
18 | *line 30
|
---|
19 | move.b (R13)+,R0
|
---|
20 | ext.w R0
|
---|
21 | move R0,(sp)
|
---|
22 | move 8(R14),-(sp)
|
---|
23 | move #3,-(sp)
|
---|
24 | jsr _trap13
|
---|
25 | addq.l #4,sp
|
---|
26 | L3:
|
---|
27 | *line 29
|
---|
28 | add #1,R7
|
---|
29 | L4:
|
---|
30 | *line 29
|
---|
31 | cmp 14(R14),R7
|
---|
32 | blt L5
|
---|
33 | L2:
|
---|
34 | *line 32
|
---|
35 | move R7,R0
|
---|
36 | bra L1
|
---|
37 | L1:tst.l (sp)+
|
---|
38 | movem.l (sp)+,R7-R7/R13-R13
|
---|
39 | unlk R14
|
---|
40 | rts
|
---|
41 | .data
|
---|
Note:
See
TracBrowser
for help on using the repository browser.