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:
1.4 KB
|
Rev | Line | |
---|
[7bf3856] | 1 | .globl _vputsv
|
---|
| 2 | .text
|
---|
| 3 | _vputsv:
|
---|
| 4 | ~~vputsv:
|
---|
| 5 | ~sbase=8
|
---|
| 6 | ~row=12
|
---|
| 7 | ~col=14
|
---|
| 8 | ~str=16
|
---|
| 9 | ~attrib=20
|
---|
| 10 | ~len=22
|
---|
| 11 | link R14,#-6
|
---|
| 12 | ~c=-2
|
---|
| 13 | *line 36
|
---|
| 14 | bra L4
|
---|
| 15 | L3:
|
---|
| 16 | *line 37
|
---|
| 17 | *line 38
|
---|
| 18 | move 22(R14),(sp)
|
---|
| 19 | move 20(R14),-(sp)
|
---|
| 20 | move -2(R14),-(sp)
|
---|
| 21 | move 14(R14),-(sp)
|
---|
| 22 | move 12(R14),-(sp)
|
---|
| 23 | move.l 8(R14),-(sp)
|
---|
| 24 | jsr _vputcv
|
---|
| 25 | adda.l #12,sp
|
---|
| 26 | *line 39
|
---|
| 27 | *line 40
|
---|
| 28 | *line 40
|
---|
| 29 | add #1,14(R14)
|
---|
| 30 | clr R0
|
---|
| 31 | move 14(R14),R0
|
---|
| 32 | cmp #64,R0
|
---|
| 33 | blo L5
|
---|
| 34 | *line 41
|
---|
| 35 | *line 42
|
---|
| 36 | clr 14(R14)
|
---|
| 37 | *line 43
|
---|
| 38 | *line 44
|
---|
| 39 | *line 45
|
---|
| 40 | add #1,12(R14)
|
---|
| 41 | clr R0
|
---|
| 42 | move 12(R14),R0
|
---|
| 43 | cmp #25,R0
|
---|
| 44 | blo L6
|
---|
| 45 | *line 45
|
---|
| 46 | clr 12(R14)
|
---|
| 47 | L6:
|
---|
| 48 | *line 46
|
---|
| 49 | L5:L4:
|
---|
| 50 | *line 47
|
---|
| 51 | move.l 16(R14),R8
|
---|
| 52 | move.b (R8),R0
|
---|
| 53 | ext.w R0
|
---|
| 54 | move R0,-2(R14)
|
---|
| 55 | add.l #1,16(R14)
|
---|
| 56 | tst R0
|
---|
| 57 | bne L3
|
---|
| 58 | L2:L1:unlk R14
|
---|
| 59 | rts
|
---|
| 60 | .globl _vputsav
|
---|
| 61 | .text
|
---|
| 62 | _vputsav:
|
---|
| 63 | ~~vputsav:
|
---|
| 64 | ~sbase=8
|
---|
| 65 | ~row=12
|
---|
| 66 | ~col=14
|
---|
| 67 | ~str=16
|
---|
| 68 | ~attrib=20
|
---|
| 69 | ~len=24
|
---|
| 70 | link R14,#-6
|
---|
| 71 | ~c=-2
|
---|
| 72 | *line 69
|
---|
| 73 | bra L10
|
---|
| 74 | L9:
|
---|
| 75 | *line 70
|
---|
| 76 | *line 71
|
---|
| 77 | move 24(R14),(sp)
|
---|
| 78 | move.l 20(R14),R8
|
---|
| 79 | move (R8),-(sp)
|
---|
| 80 | move -2(R14),-(sp)
|
---|
| 81 | move 14(R14),-(sp)
|
---|
| 82 | move 12(R14),-(sp)
|
---|
| 83 | move.l 8(R14),-(sp)
|
---|
| 84 | jsr _vputcv
|
---|
| 85 | adda.l #12,sp
|
---|
| 86 | add.l #2,20(R14)
|
---|
| 87 | *line 72
|
---|
| 88 | *line 73
|
---|
| 89 | *line 73
|
---|
| 90 | add #1,14(R14)
|
---|
| 91 | clr R0
|
---|
| 92 | move 14(R14),R0
|
---|
| 93 | cmp #64,R0
|
---|
| 94 | blo L11
|
---|
| 95 | *line 74
|
---|
| 96 | *line 75
|
---|
| 97 | clr 14(R14)
|
---|
| 98 | *line 76
|
---|
| 99 | *line 77
|
---|
| 100 | *line 78
|
---|
| 101 | add #1,12(R14)
|
---|
| 102 | clr R0
|
---|
| 103 | move 12(R14),R0
|
---|
| 104 | cmp #25,R0
|
---|
| 105 | blo L12
|
---|
| 106 | *line 78
|
---|
| 107 | clr 12(R14)
|
---|
| 108 | L12:
|
---|
| 109 | *line 79
|
---|
| 110 | L11:L10:
|
---|
| 111 | *line 80
|
---|
| 112 | move.l 16(R14),R8
|
---|
| 113 | move.b (R8),R0
|
---|
| 114 | ext.w R0
|
---|
| 115 | move R0,-2(R14)
|
---|
| 116 | add.l #1,16(R14)
|
---|
| 117 | tst R0
|
---|
| 118 | bne L9
|
---|
| 119 | L8:L7:unlk R14
|
---|
| 120 | rts
|
---|
| 121 | .data
|
---|
Note:
See
TracBrowser
for help on using the repository browser.