|
Last change
on this file since 72f4794 was 7bf3856, checked in by Thomas Lopatic <thomas@…>, 8 years ago |
|
Added Alcyon C reference output.
|
-
Property mode
set to
100644
|
|
File size:
436 bytes
|
| Rev | Line | |
|---|
| [7bf3856] | 1 | .globl _waitcr
|
|---|
| 2 | .text
|
|---|
| 3 | _waitcr:
|
|---|
| 4 | ~~waitcr:
|
|---|
| 5 | link R14,#-6
|
|---|
| 6 | ~c=-2
|
|---|
| 7 | *line 28
|
|---|
| 8 | move #7,(sp)
|
|---|
| 9 | move #2,-(sp)
|
|---|
| 10 | move #3,-(sp)
|
|---|
| 11 | jsr _trap13
|
|---|
| 12 | addq.l #4,sp
|
|---|
| 13 | *line 32
|
|---|
| 14 | bra L4
|
|---|
| 15 | L3:
|
|---|
| 16 | *line 33
|
|---|
| 17 | *line 34
|
|---|
| 18 | cmp #7,-2(R14)
|
|---|
| 19 | bne L5
|
|---|
| 20 | *line 34
|
|---|
| 21 | jsr _xtrap15
|
|---|
| 22 | *line 35
|
|---|
| 23 | L5:L4:
|
|---|
| 24 | *line 36
|
|---|
| 25 | move #2,(sp)
|
|---|
| 26 | move #2,-(sp)
|
|---|
| 27 | jsr _trap13
|
|---|
| 28 | addq.l #2,sp
|
|---|
| 29 | and #127,R0
|
|---|
| 30 | move R0,-2(R14)
|
|---|
| 31 | cmp #13,R0
|
|---|
| 32 | bne L3
|
|---|
| 33 | L2:
|
|---|
| 34 | *line 36
|
|---|
| 35 | move -2(R14),R0
|
|---|
| 36 | bra L1
|
|---|
| 37 | L1:unlk R14
|
|---|
| 38 | rts
|
|---|
| 39 | .data
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.