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