Last change
on this file since d21fc6f was 7bf3856, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Added Alcyon C reference output.
|
-
Property mode
set to
100644
|
File size:
1.0 KB
|
Rev | Line | |
---|
[7bf3856] | 1 | .globl _micons
|
---|
| 2 | .text
|
---|
| 3 | _micons:
|
---|
| 4 | ~~micons:
|
---|
| 5 | ~wi=8
|
---|
| 6 | link R14,#-4
|
---|
| 7 | *line 40
|
---|
| 8 | move 8(R14),R0
|
---|
| 9 | asl #8,R0
|
---|
| 10 | and #-256,R0
|
---|
| 11 | move 8(R14),R1
|
---|
| 12 | asr #8,R1
|
---|
| 13 | and #255,R1
|
---|
| 14 | or R1,R0
|
---|
| 15 | bra L1
|
---|
| 16 | L1:unlk R14
|
---|
| 17 | rts
|
---|
| 18 | .globl _miconi
|
---|
| 19 | .text
|
---|
| 20 | _miconi:
|
---|
| 21 | ~~miconi:
|
---|
| 22 | ~wi=8
|
---|
| 23 | link R14,#-4
|
---|
| 24 | *line 53
|
---|
| 25 | *line 54
|
---|
| 26 | bra L3
|
---|
| 27 | *line 55
|
---|
| 28 | move 8(R14),R0
|
---|
| 29 | move #24,R1
|
---|
| 30 | asl R1,R0
|
---|
| 31 | clr R0
|
---|
| 32 | move 8(R14),R1
|
---|
| 33 | asl #8,R1
|
---|
| 34 | clr R1
|
---|
| 35 | or R1,R0
|
---|
| 36 | move 8(R14),R1
|
---|
| 37 | asr #8,R1
|
---|
| 38 | and #-256,R1
|
---|
| 39 | or R1,R0
|
---|
| 40 | move 8(R14),R1
|
---|
| 41 | move #24,R2
|
---|
| 42 | asr R2,R1
|
---|
| 43 | and #255,R1
|
---|
| 44 | or R1,R0
|
---|
| 45 | bra L2
|
---|
| 46 | *line 56
|
---|
| 47 | bra L4
|
---|
| 48 | L3:
|
---|
| 49 | *line 57
|
---|
| 50 | move 8(R14),R0
|
---|
| 51 | asl #8,R0
|
---|
| 52 | and #-256,R0
|
---|
| 53 | move 8(R14),R1
|
---|
| 54 | asr #8,R1
|
---|
| 55 | and #255,R1
|
---|
| 56 | or R1,R0
|
---|
| 57 | bra L2
|
---|
| 58 | L4:L2:unlk R14
|
---|
| 59 | rts
|
---|
| 60 | .globl _miconl
|
---|
| 61 | .text
|
---|
| 62 | _miconl:
|
---|
| 63 | ~~miconl:
|
---|
| 64 | ~wi=8
|
---|
| 65 | link R14,#-4
|
---|
| 66 | *line 70
|
---|
| 67 | *line 71
|
---|
| 68 | move.l 8(R14),R0
|
---|
| 69 | move.l #$18,R1
|
---|
| 70 | asl.l R1,R0
|
---|
| 71 | and.l #$ff000000,R0
|
---|
| 72 | move.l 8(R14),R1
|
---|
| 73 | asl.l #$8,R1
|
---|
| 74 | and.l #$ff0000,R1
|
---|
| 75 | or.l R1,R0
|
---|
| 76 | move.l 8(R14),R1
|
---|
| 77 | asr.l #$8,R1
|
---|
| 78 | and.l #$ff00,R1
|
---|
| 79 | or.l R1,R0
|
---|
| 80 | move.l 8(R14),R1
|
---|
| 81 | move.l #$18,R2
|
---|
| 82 | asr.l R2,R1
|
---|
| 83 | and.l #$ff,R1
|
---|
| 84 | or.l R1,R0
|
---|
| 85 | bra L5
|
---|
| 86 | L5:unlk R14
|
---|
| 87 | rts
|
---|
| 88 | .data
|
---|
Note:
See
TracBrowser
for help on using the repository browser.