Last change
on this file since abd4109 was 7bf3856, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Added Alcyon C reference output.
|
-
Property mode
set to
100644
|
File size:
458 bytes
|
Rev | Line | |
---|
[7bf3856] | 1 | .globl _vclrs
|
---|
| 2 | .text
|
---|
| 3 | _vclrs:
|
---|
| 4 | ~~vclrs:
|
---|
| 5 | ~obase=-2
|
---|
| 6 | ~nc=R7
|
---|
| 7 | ~obase=8
|
---|
| 8 | ~row=12
|
---|
| 9 | ~col=14
|
---|
| 10 | ~ch=18
|
---|
| 11 | ~atr=20
|
---|
| 12 | link R14,#0
|
---|
| 13 | movem.l R6-R7,-(sp)
|
---|
| 14 | *line 32
|
---|
| 15 | move 16(R14),R7
|
---|
| 16 | *line 32
|
---|
| 17 | bra L4
|
---|
| 18 | L3:
|
---|
| 19 | *line 33
|
---|
| 20 | move 20(R14),(sp)
|
---|
| 21 | move 18(R14),-(sp)
|
---|
| 22 | move 14(R14),-(sp)
|
---|
| 23 | move 12(R14),-(sp)
|
---|
| 24 | move.l 8(R14),-(sp)
|
---|
| 25 | jsr _vputc
|
---|
| 26 | adda.l #10,sp
|
---|
| 27 | add #1,14(R14)
|
---|
| 28 | L4:
|
---|
| 29 | *line 33
|
---|
| 30 | move R7,R0
|
---|
| 31 | sub #1,R7
|
---|
| 32 | tst R0
|
---|
| 33 | bne L3
|
---|
| 34 | L2:L1:tst.l (sp)+
|
---|
| 35 | movem.l (sp)+,R7-R7
|
---|
| 36 | unlk R14
|
---|
| 37 | rts
|
---|
| 38 | .data
|
---|
Note:
See
TracBrowser
for help on using the repository browser.