URL
https://opencores.org/ocsvn/Aquarius/Aquarius/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 2 |
Rev 12 |
.file "main.c"
|
.file "main.c"
|
gcc2_compiled.:
|
gcc2_compiled.:
|
.section .rodata
|
.section .rodata
|
.align 2
|
.align 2
|
.LC0:
|
.LC0:
|
.string "<SuperH in FPGA>"
|
.string "<SuperH in FPGA>"
|
.text
|
.text
|
.align 2
|
.align 2
|
.global _main_sh
|
.global _main_sh
|
.type _main_sh,@function
|
.type _main_sh,@function
|
_main_sh:
|
_main_sh:
|
mov.l r8,@-r15
|
mov.l r8,@-r15
|
mov.l r14,@-r15
|
mov.l r14,@-r15
|
sts.l pr,@-r15
|
sts.l pr,@-r15
|
add #-28,r15
|
add #-28,r15
|
mov r15,r14
|
mov r15,r14
|
mov r14,r1
|
mov r14,r1
|
mov.l .L10,r2
|
mov.l .L10,r2
|
mov r14,r1
|
mov r14,r1
|
mov #17,r3
|
mov #17,r3
|
mov r15,r7
|
mov r15,r7
|
mov r1,r4
|
mov r1,r4
|
mov r2,r5
|
mov r2,r5
|
mov r3,r6
|
mov r3,r6
|
mov.l .L11,r8
|
mov.l .L11,r8
|
jsr @r8
|
jsr @r8
|
nop
|
nop
|
mov.l r14,@(20,r14)
|
mov.l r14,@(20,r14)
|
mov r15,r1
|
mov r15,r1
|
mov.l .L12,r8
|
mov.l .L12,r8
|
jsr @r8
|
jsr @r8
|
nop
|
nop
|
mov r15,r1
|
mov r15,r1
|
mov.l .L13,r8
|
mov.l .L13,r8
|
jsr @r8
|
jsr @r8
|
nop
|
nop
|
mov r15,r1
|
mov r15,r1
|
mov.w .L14,r2
|
mov.w .L14,r2
|
mov #0,r4
|
mov #0,r4
|
mov r2,r5
|
mov r2,r5
|
mov.l .L15,r8
|
mov.l .L15,r8
|
jsr @r8
|
jsr @r8
|
nop
|
nop
|
.L3:
|
.L3:
|
mov.l @(20,r14),r1
|
mov.l @(20,r14),r1
|
mov.b @r1,r2
|
mov.b @r1,r2
|
extu.b r2,r1
|
extu.b r2,r1
|
tst r1,r1
|
tst r1,r1
|
bf .L5
|
bf .L5
|
bra .L4
|
bra .L4
|
nop
|
nop
|
.align 2
|
.align 2
|
.L5:
|
.L5:
|
mov r15,r1
|
mov r15,r1
|
mov.l .L13,r8
|
mov.l .L13,r8
|
jsr @r8
|
jsr @r8
|
nop
|
nop
|
mov r15,r2
|
mov r15,r2
|
mov r14,r1
|
mov r14,r1
|
add #20,r1
|
add #20,r1
|
mov.l @r1,r2
|
mov.l @r1,r2
|
mov.b @r2,r7
|
mov.b @r2,r7
|
extu.b r7,r3
|
extu.b r7,r3
|
add #1,r2
|
add #1,r2
|
mov.l r2,@r1
|
mov.l r2,@r1
|
mov #1,r4
|
mov #1,r4
|
mov r3,r5
|
mov r3,r5
|
mov.l .L15,r8
|
mov.l .L15,r8
|
jsr @r8
|
jsr @r8
|
nop
|
nop
|
bra .L3
|
bra .L3
|
nop
|
nop
|
.align 2
|
.align 2
|
.L4:
|
.L4:
|
mov r14,r1
|
mov r14,r1
|
mov r14,r2
|
mov r14,r2
|
add #24,r2
|
add #24,r2
|
mov #0,r1
|
mov #0,r1
|
mov.b r1,@r2
|
mov.b r1,@r2
|
.L6:
|
.L6:
|
bra .L8
|
bra .L8
|
nop
|
nop
|
bra .L7
|
bra .L7
|
nop
|
nop
|
.align 2
|
.align 2
|
.L8:
|
.L8:
|
mov r14,r1
|
mov r14,r1
|
mov r14,r2
|
mov r14,r2
|
add #24,r2
|
add #24,r2
|
mov.b @r2,r1
|
mov.b @r2,r1
|
extu.b r1,r2
|
extu.b r1,r2
|
mov r2,r1
|
mov r2,r1
|
shlr2 r1
|
shlr2 r1
|
shlr2 r1
|
shlr2 r1
|
extu.b r1,r2
|
extu.b r1,r2
|
tst r2,r2
|
tst r2,r2
|
bf .L9
|
bf .L9
|
mov r15,r1
|
mov r15,r1
|
mov.l .L13,r8
|
mov.l .L13,r8
|
jsr @r8
|
jsr @r8
|
nop
|
nop
|
mov r15,r1
|
mov r15,r1
|
mov.w .L16,r2
|
mov.w .L16,r2
|
mov #0,r4
|
mov #0,r4
|
mov r2,r5
|
mov r2,r5
|
mov.l .L15,r8
|
mov.l .L15,r8
|
jsr @r8
|
jsr @r8
|
nop
|
nop
|
.L9:
|
.L9:
|
mov r15,r1
|
mov r15,r1
|
mov.l .L13,r8
|
mov.l .L13,r8
|
jsr @r8
|
jsr @r8
|
nop
|
nop
|
mov r15,r1
|
mov r15,r1
|
mov r14,r2
|
mov r14,r2
|
mov r14,r1
|
mov r14,r1
|
add #24,r1
|
add #24,r1
|
mov.b @r1,r2
|
mov.b @r1,r2
|
mov r2,r3
|
mov r2,r3
|
add #1,r3
|
add #1,r3
|
mov.b r3,@r1
|
mov.b r3,@r1
|
extu.b r2,r1
|
extu.b r2,r1
|
mov #1,r4
|
mov #1,r4
|
mov r1,r5
|
mov r1,r5
|
mov.l .L15,r8
|
mov.l .L15,r8
|
jsr @r8
|
jsr @r8
|
nop
|
nop
|
bra .L6
|
bra .L6
|
nop
|
nop
|
.align 2
|
.align 2
|
.L7:
|
.L7:
|
.L2:
|
.L2:
|
add #28,r14
|
add #28,r14
|
mov r14,r15
|
mov r14,r15
|
lds.l @r15+,pr
|
lds.l @r15+,pr
|
mov.l @r15+,r14
|
mov.l @r15+,r14
|
mov.l @r15+,r8
|
mov.l @r15+,r8
|
rts
|
rts
|
nop
|
nop
|
.align 1
|
.align 1
|
.L14:
|
.L14:
|
.short 128
|
.short 128
|
.L16:
|
.L16:
|
.short 192
|
.short 192
|
.L17:
|
.L17:
|
.align 2
|
.align 2
|
.L10:
|
.L10:
|
.long .LC0
|
.long .LC0
|
.L11:
|
.L11:
|
.long _memcpy
|
.long _memcpy
|
.L12:
|
.L12:
|
.long _lcdinit
|
.long _lcdinit
|
.L13:
|
.L13:
|
.long _lcdready
|
.long _lcdready
|
.L15:
|
.L15:
|
.long _lcdwr
|
.long _lcdwr
|
.Lfe1:
|
.Lfe1:
|
.size _main_sh,.Lfe1-_main_sh
|
.size _main_sh,.Lfe1-_main_sh
|
.align 2
|
.align 2
|
.global _lcdready
|
.global _lcdready
|
.type _lcdready,@function
|
.type _lcdready,@function
|
_lcdready:
|
_lcdready:
|
mov.l r8,@-r15
|
mov.l r8,@-r15
|
mov.l r14,@-r15
|
mov.l r14,@-r15
|
sts.l pr,@-r15
|
sts.l pr,@-r15
|
mov r15,r14
|
mov r15,r14
|
.L19:
|
.L19:
|
mov r15,r1
|
mov r15,r1
|
mov #0,r4
|
mov #0,r4
|
mov.l .L22,r8
|
mov.l .L22,r8
|
jsr @r8
|
jsr @r8
|
nop
|
nop
|
mov.w .L23,r1
|
mov.w .L23,r1
|
and r0,r1
|
and r0,r1
|
extu.b r1,r2
|
extu.b r1,r2
|
tst r2,r2
|
tst r2,r2
|
bf .L21
|
bf .L21
|
bra .L20
|
bra .L20
|
nop
|
nop
|
.align 2
|
.align 2
|
.L21:
|
.L21:
|
bra .L19
|
bra .L19
|
nop
|
nop
|
.align 2
|
.align 2
|
.L20:
|
.L20:
|
.L18:
|
.L18:
|
mov r14,r15
|
mov r14,r15
|
lds.l @r15+,pr
|
lds.l @r15+,pr
|
mov.l @r15+,r14
|
mov.l @r15+,r14
|
mov.l @r15+,r8
|
mov.l @r15+,r8
|
rts
|
rts
|
nop
|
nop
|
.align 1
|
.align 1
|
.L23:
|
.L23:
|
.short 128
|
.short 128
|
.L24:
|
.L24:
|
.align 2
|
.align 2
|
.L22:
|
.L22:
|
.long _lcdrd
|
.long _lcdrd
|
.Lfe2:
|
.Lfe2:
|
.size _lcdready,.Lfe2-_lcdready
|
.size _lcdready,.Lfe2-_lcdready
|
.align 2
|
.align 2
|
.global _lcdrd
|
.global _lcdrd
|
.type _lcdrd,@function
|
.type _lcdrd,@function
|
_lcdrd:
|
_lcdrd:
|
mov.l r14,@-r15
|
mov.l r14,@-r15
|
add #-12,r15
|
add #-12,r15
|
mov r15,r14
|
mov r15,r14
|
mov.l r4,@r14
|
mov.l r4,@r14
|
mov.l .L34,r1
|
mov.l .L34,r1
|
mov r14,r3
|
mov r14,r3
|
mov r14,r2
|
mov r14,r2
|
add #3,r2
|
add #3,r2
|
mov r1,r3
|
mov r1,r3
|
add #2,r1
|
add #2,r1
|
mov.b @r2,r3
|
mov.b @r2,r3
|
mov #1,r2
|
mov #1,r2
|
and r3,r2
|
and r3,r2
|
mov.b @r1,r3
|
mov.b @r1,r3
|
mov.w .L35,r7
|
mov.w .L35,r7
|
and r3,r7
|
and r3,r7
|
mov r7,r3
|
mov r7,r3
|
or r2,r3
|
or r2,r3
|
mov.b r3,@r1
|
mov.b r3,@r1
|
mov.l .L34,r1
|
mov.l .L34,r1
|
mov r1,r2
|
mov r1,r2
|
add #2,r1
|
add #2,r1
|
mov.b @r1,r2
|
mov.b @r1,r2
|
mov #2,r3
|
mov #2,r3
|
or r2,r3
|
or r2,r3
|
mov.b r3,@r1
|
mov.b r3,@r1
|
mov.l .L34,r1
|
mov.l .L34,r1
|
mov r1,r2
|
mov r1,r2
|
add #2,r1
|
add #2,r1
|
mov.b @r1,r2
|
mov.b @r1,r2
|
mov.w .L36,r3
|
mov.w .L36,r3
|
and r2,r3
|
and r2,r3
|
mov.b r3,@r1
|
mov.b r3,@r1
|
mov r14,r2
|
mov r14,r2
|
mov r14,r1
|
mov r14,r1
|
add #8,r1
|
add #8,r1
|
mov.l .L34,r2
|
mov.l .L34,r2
|
mov.b @r2,r3
|
mov.b @r2,r3
|
mov.b r3,@r1
|
mov.b r3,@r1
|
mov r14,r2
|
mov r14,r2
|
mov r14,r1
|
mov r14,r1
|
add #8,r1
|
add #8,r1
|
mov.l .L34,r2
|
mov.l .L34,r2
|
mov.b @r2,r3
|
mov.b @r2,r3
|
mov.b r3,@r1
|
mov.b r3,@r1
|
mov r14,r2
|
mov r14,r2
|
mov r14,r1
|
mov r14,r1
|
add #8,r1
|
add #8,r1
|
mov.l .L34,r2
|
mov.l .L34,r2
|
mov.b @r2,r3
|
mov.b @r2,r3
|
mov.b r3,@r1
|
mov.b r3,@r1
|
mov.l .L34,r1
|
mov.l .L34,r1
|
mov r1,r2
|
mov r1,r2
|
add #2,r1
|
add #2,r1
|
mov.b @r1,r2
|
mov.b @r1,r2
|
mov #4,r3
|
mov #4,r3
|
or r2,r3
|
or r2,r3
|
mov.b r3,@r1
|
mov.b r3,@r1
|
mov #0,r1
|
mov #0,r1
|
mov.l r1,@(4,r14)
|
mov.l r1,@(4,r14)
|
.L26:
|
.L26:
|
mov.l @(4,r14),r1
|
mov.l @(4,r14),r1
|
mov #25,r2
|
mov #25,r2
|
cmp/gt r2,r1
|
cmp/gt r2,r1
|
bf .L29
|
bf .L29
|
bra .L27
|
bra .L27
|
nop
|
nop
|
.align 2
|
.align 2
|
.L29:
|
.L29:
|
mov r14,r2
|
mov r14,r2
|
mov r14,r1
|
mov r14,r1
|
add #8,r1
|
add #8,r1
|
mov.l .L34,r2
|
mov.l .L34,r2
|
mov.b @r2,r3
|
mov.b @r2,r3
|
mov.b r3,@r1
|
mov.b r3,@r1
|
.L28:
|
.L28:
|
mov.l @(4,r14),r1
|
mov.l @(4,r14),r1
|
mov r1,r2
|
mov r1,r2
|
add #1,r2
|
add #1,r2
|
mov.l r2,@(4,r14)
|
mov.l r2,@(4,r14)
|
bra .L26
|
bra .L26
|
nop
|
nop
|
.align 2
|
.align 2
|
.L27:
|
.L27:
|
mov r14,r2
|
mov r14,r2
|
mov r14,r1
|
mov r14,r1
|
add #9,r1
|
add #9,r1
|
mov.l .L34,r3
|
mov.l .L34,r3
|
mov r3,r2
|
mov r3,r2
|
add #3,r3
|
add #3,r3
|
mov.b @r3,r2
|
mov.b @r3,r2
|
mov.b r2,@r1
|
mov.b r2,@r1
|
mov.l .L34,r1
|
mov.l .L34,r1
|
mov r1,r2
|
mov r1,r2
|
add #2,r1
|
add #2,r1
|
mov.b @r1,r2
|
mov.b @r1,r2
|
mov.w .L36,r3
|
mov.w .L36,r3
|
and r2,r3
|
and r2,r3
|
mov.b r3,@r1
|
mov.b r3,@r1
|
mov #0,r1
|
mov #0,r1
|
mov.l r1,@(4,r14)
|
mov.l r1,@(4,r14)
|
.L30:
|
.L30:
|
mov.l @(4,r14),r1
|
mov.l @(4,r14),r1
|
mov #25,r2
|
mov #25,r2
|
cmp/gt r2,r1
|
cmp/gt r2,r1
|
bf .L33
|
bf .L33
|
bra .L31
|
bra .L31
|
nop
|
nop
|
.align 2
|
.align 2
|
.L33:
|
.L33:
|
mov r14,r2
|
mov r14,r2
|
mov r14,r1
|
mov r14,r1
|
add #8,r1
|
add #8,r1
|
mov.l .L34,r2
|
mov.l .L34,r2
|
mov.b @r2,r3
|
mov.b @r2,r3
|
mov.b r3,@r1
|
mov.b r3,@r1
|
.L32:
|
.L32:
|
mov.l @(4,r14),r1
|
mov.l @(4,r14),r1
|
mov r1,r2
|
mov r1,r2
|
add #1,r2
|
add #1,r2
|
mov.l r2,@(4,r14)
|
mov.l r2,@(4,r14)
|
bra .L30
|
bra .L30
|
nop
|
nop
|
.align 2
|
.align 2
|
.L31:
|
.L31:
|
mov r14,r1
|
mov r14,r1
|
mov r14,r2
|
mov r14,r2
|
add #9,r2
|
add #9,r2
|
mov.b @r2,r3
|
mov.b @r2,r3
|
extu.b r3,r1
|
extu.b r3,r1
|
mov r1,r0
|
mov r1,r0
|
bra .L25
|
bra .L25
|
nop
|
nop
|
.align 2
|
.align 2
|
.L25:
|
.L25:
|
add #12,r14
|
add #12,r14
|
mov r14,r15
|
mov r14,r15
|
mov.l @r15+,r14
|
mov.l @r15+,r14
|
rts
|
rts
|
nop
|
nop
|
.align 1
|
.align 1
|
.L35:
|
.L35:
|
.short 254
|
.short 254
|
.L36:
|
.L36:
|
.short 251
|
.short 251
|
.L37:
|
.L37:
|
.align 2
|
.align 2
|
.L34:
|
.L34:
|
.long -1412628480
|
.long -1412628480
|
.Lfe3:
|
.Lfe3:
|
.size _lcdrd,.Lfe3-_lcdrd
|
.size _lcdrd,.Lfe3-_lcdrd
|
.align 2
|
.align 2
|
.global _lcdwr
|
.global _lcdwr
|
.type _lcdwr,@function
|
.type _lcdwr,@function
|
_lcdwr:
|
_lcdwr:
|
mov.l r14,@-r15
|
mov.l r14,@-r15
|
add #-16,r15
|
add #-16,r15
|
mov r15,r14
|
mov r15,r14
|
mov.l r4,@r14
|
mov.l r4,@r14
|
mov r5,r1
|
mov r5,r1
|
mov r14,r2
|
mov r14,r2
|
mov r14,r3
|
mov r14,r3
|
add #4,r3
|
add #4,r3
|
mov.b r1,@r3
|
mov.b r1,@r3
|
mov.l .L47,r1
|
mov.l .L47,r1
|
mov r1,r2
|
mov r1,r2
|
add #3,r1
|
add #3,r1
|
mov r14,r2
|
mov r14,r2
|
mov r14,r3
|
mov r14,r3
|
add #4,r3
|
add #4,r3
|
mov.b @r3,r2
|
mov.b @r3,r2
|
mov.b r2,@r1
|
mov.b r2,@r1
|
mov.l .L47,r1
|
mov.l .L47,r1
|
mov r14,r3
|
mov r14,r3
|
mov r14,r2
|
mov r14,r2
|
add #3,r2
|
add #3,r2
|
mov r1,r3
|
mov r1,r3
|
add #2,r1
|
add #2,r1
|
mov.b @r2,r3
|
mov.b @r2,r3
|
mov #1,r2
|
mov #1,r2
|
and r3,r2
|
and r3,r2
|
mov.b @r1,r3
|
mov.b @r1,r3
|
mov.w .L48,r7
|
mov.w .L48,r7
|
and r3,r7
|
and r3,r7
|
mov r7,r3
|
mov r7,r3
|
or r2,r3
|
or r2,r3
|
mov.b r3,@r1
|
mov.b r3,@r1
|
mov.l .L47,r1
|
mov.l .L47,r1
|
mov r1,r2
|
mov r1,r2
|
add #2,r1
|
add #2,r1
|
mov.b @r1,r2
|
mov.b @r1,r2
|
mov.w .L49,r3
|
mov.w .L49,r3
|
and r2,r3
|
and r2,r3
|
mov.b r3,@r1
|
mov.b r3,@r1
|
mov.l .L47,r1
|
mov.l .L47,r1
|
mov r1,r2
|
mov r1,r2
|
add #2,r1
|
add #2,r1
|
mov.b @r1,r2
|
mov.b @r1,r2
|
mov.w .L50,r3
|
mov.w .L50,r3
|
and r2,r3
|
and r2,r3
|
mov.b r3,@r1
|
mov.b r3,@r1
|
mov r14,r2
|
mov r14,r2
|
mov r14,r1
|
mov r14,r1
|
add #12,r1
|
add #12,r1
|
mov.l .L47,r2
|
mov.l .L47,r2
|
mov.b @r2,r3
|
mov.b @r2,r3
|
mov.b r3,@r1
|
mov.b r3,@r1
|
mov r14,r2
|
mov r14,r2
|
mov r14,r1
|
mov r14,r1
|
add #12,r1
|
add #12,r1
|
mov.l .L47,r2
|
mov.l .L47,r2
|
mov.b @r2,r3
|
mov.b @r2,r3
|
mov.b r3,@r1
|
mov.b r3,@r1
|
mov r14,r2
|
mov r14,r2
|
mov r14,r1
|
mov r14,r1
|
add #12,r1
|
add #12,r1
|
mov.l .L47,r2
|
mov.l .L47,r2
|
mov.b @r2,r3
|
mov.b @r2,r3
|
mov.b r3,@r1
|
mov.b r3,@r1
|
mov.l .L47,r1
|
mov.l .L47,r1
|
mov r1,r2
|
mov r1,r2
|
add #2,r1
|
add #2,r1
|
mov.b @r1,r2
|
mov.b @r1,r2
|
mov #4,r3
|
mov #4,r3
|
or r2,r3
|
or r2,r3
|
mov.b r3,@r1
|
mov.b r3,@r1
|
mov #0,r1
|
mov #0,r1
|
mov.l r1,@(8,r14)
|
mov.l r1,@(8,r14)
|
.L39:
|
.L39:
|
mov.l @(8,r14),r1
|
mov.l @(8,r14),r1
|
mov #25,r2
|
mov #25,r2
|
cmp/gt r2,r1
|
cmp/gt r2,r1
|
bf .L42
|
bf .L42
|
bra .L40
|
bra .L40
|
nop
|
nop
|
.align 2
|
.align 2
|
.L42:
|
.L42:
|
mov r14,r2
|
mov r14,r2
|
mov r14,r1
|
mov r14,r1
|
add #12,r1
|
add #12,r1
|
mov.l .L47,r2
|
mov.l .L47,r2
|
mov.b @r2,r3
|
mov.b @r2,r3
|
mov.b r3,@r1
|
mov.b r3,@r1
|
.L41:
|
.L41:
|
mov.l @(8,r14),r1
|
mov.l @(8,r14),r1
|
mov r1,r2
|
mov r1,r2
|
add #1,r2
|
add #1,r2
|
mov.l r2,@(8,r14)
|
mov.l r2,@(8,r14)
|
bra .L39
|
bra .L39
|
nop
|
nop
|
.align 2
|
.align 2
|
.L40:
|
.L40:
|
mov.l .L47,r1
|
mov.l .L47,r1
|
mov r1,r2
|
mov r1,r2
|
add #2,r1
|
add #2,r1
|
mov.b @r1,r2
|
mov.b @r1,r2
|
mov.w .L50,r3
|
mov.w .L50,r3
|
and r2,r3
|
and r2,r3
|
mov.b r3,@r1
|
mov.b r3,@r1
|
mov #0,r1
|
mov #0,r1
|
mov.l r1,@(8,r14)
|
mov.l r1,@(8,r14)
|
.L43:
|
.L43:
|
mov.l @(8,r14),r1
|
mov.l @(8,r14),r1
|
mov #25,r2
|
mov #25,r2
|
cmp/gt r2,r1
|
cmp/gt r2,r1
|
bf .L46
|
bf .L46
|
bra .L44
|
bra .L44
|
nop
|
nop
|
.align 2
|
.align 2
|
.L46:
|
.L46:
|
mov r14,r2
|
mov r14,r2
|
mov r14,r1
|
mov r14,r1
|
add #12,r1
|
add #12,r1
|
mov.l .L47,r2
|
mov.l .L47,r2
|
mov.b @r2,r3
|
mov.b @r2,r3
|
mov.b r3,@r1
|
mov.b r3,@r1
|
.L45:
|
.L45:
|
mov.l @(8,r14),r1
|
mov.l @(8,r14),r1
|
mov r1,r2
|
mov r1,r2
|
add #1,r2
|
add #1,r2
|
mov.l r2,@(8,r14)
|
mov.l r2,@(8,r14)
|
bra .L43
|
bra .L43
|
nop
|
nop
|
.align 2
|
.align 2
|
.L44:
|
.L44:
|
.L38:
|
.L38:
|
add #16,r14
|
add #16,r14
|
mov r14,r15
|
mov r14,r15
|
mov.l @r15+,r14
|
mov.l @r15+,r14
|
rts
|
rts
|
nop
|
nop
|
.align 1
|
.align 1
|
.L48:
|
.L48:
|
.short 254
|
.short 254
|
.L49:
|
.L49:
|
.short 253
|
.short 253
|
.L50:
|
.L50:
|
.short 251
|
.short 251
|
.L51:
|
.L51:
|
.align 2
|
.align 2
|
.L47:
|
.L47:
|
.long -1412628480
|
.long -1412628480
|
.Lfe4:
|
.Lfe4:
|
.size _lcdwr,.Lfe4-_lcdwr
|
.size _lcdwr,.Lfe4-_lcdwr
|
.align 2
|
.align 2
|
.global _lcdinit
|
.global _lcdinit
|
.type _lcdinit,@function
|
.type _lcdinit,@function
|
_lcdinit:
|
_lcdinit:
|
mov.l r8,@-r15
|
mov.l r8,@-r15
|
mov.l r14,@-r15
|
mov.l r14,@-r15
|
sts.l pr,@-r15
|
sts.l pr,@-r15
|
add #-4,r15
|
add #-4,r15
|
mov r15,r14
|
mov r15,r14
|
mov r15,r1
|
mov r15,r1
|
mov #0,r4
|
mov #0,r4
|
mov #48,r5
|
mov #48,r5
|
mov.l .L61,r8
|
mov.l .L61,r8
|
jsr @r8
|
jsr @r8
|
nop
|
nop
|
mov #0,r1
|
mov #0,r1
|
mov.l r1,@r14
|
mov.l r1,@r14
|
.L53:
|
.L53:
|
mov.l @r14,r1
|
mov.l @r14,r1
|
mov.l .L62,r2
|
mov.l .L62,r2
|
cmp/gt r2,r1
|
cmp/gt r2,r1
|
bf .L55
|
bf .L55
|
bra .L54
|
bra .L54
|
nop
|
nop
|
.align 2
|
.align 2
|
.L56:
|
.L56:
|
.L55:
|
.L55:
|
mov.l @r14,r1
|
mov.l @r14,r1
|
mov r1,r2
|
mov r1,r2
|
add #1,r2
|
add #1,r2
|
mov.l r2,@r14
|
mov.l r2,@r14
|
bra .L53
|
bra .L53
|
nop
|
nop
|
.align 2
|
.align 2
|
.L54:
|
.L54:
|
mov r15,r1
|
mov r15,r1
|
mov #0,r4
|
mov #0,r4
|
mov #48,r5
|
mov #48,r5
|
mov.l .L61,r8
|
mov.l .L61,r8
|
jsr @r8
|
jsr @r8
|
nop
|
nop
|
mov #0,r1
|
mov #0,r1
|
mov.l r1,@r14
|
mov.l r1,@r14
|
.L57:
|
.L57:
|
mov.l @r14,r1
|
mov.l @r14,r1
|
mov.w .L63,r2
|
mov.w .L63,r2
|
cmp/gt r2,r1
|
cmp/gt r2,r1
|
bf .L59
|
bf .L59
|
bra .L58
|
bra .L58
|
nop
|
nop
|
.align 2
|
.align 2
|
.L60:
|
.L60:
|
.L59:
|
.L59:
|
mov.l @r14,r1
|
mov.l @r14,r1
|
mov r1,r2
|
mov r1,r2
|
add #1,r2
|
add #1,r2
|
mov.l r2,@r14
|
mov.l r2,@r14
|
bra .L57
|
bra .L57
|
nop
|
nop
|
.align 2
|
.align 2
|
.L58:
|
.L58:
|
mov r15,r1
|
mov r15,r1
|
mov #0,r4
|
mov #0,r4
|
mov #48,r5
|
mov #48,r5
|
mov.l .L61,r8
|
mov.l .L61,r8
|
jsr @r8
|
jsr @r8
|
nop
|
nop
|
mov r15,r1
|
mov r15,r1
|
mov.l .L64,r8
|
mov.l .L64,r8
|
jsr @r8
|
jsr @r8
|
nop
|
nop
|
mov r15,r1
|
mov r15,r1
|
mov #0,r4
|
mov #0,r4
|
mov #56,r5
|
mov #56,r5
|
mov.l .L61,r8
|
mov.l .L61,r8
|
jsr @r8
|
jsr @r8
|
nop
|
nop
|
mov r15,r1
|
mov r15,r1
|
mov.l .L64,r8
|
mov.l .L64,r8
|
jsr @r8
|
jsr @r8
|
nop
|
nop
|
mov r15,r1
|
mov r15,r1
|
mov #0,r4
|
mov #0,r4
|
mov #12,r5
|
mov #12,r5
|
mov.l .L61,r8
|
mov.l .L61,r8
|
jsr @r8
|
jsr @r8
|
nop
|
nop
|
mov r15,r1
|
mov r15,r1
|
mov.l .L64,r8
|
mov.l .L64,r8
|
jsr @r8
|
jsr @r8
|
nop
|
nop
|
mov r15,r1
|
mov r15,r1
|
mov #0,r4
|
mov #0,r4
|
mov #1,r5
|
mov #1,r5
|
mov.l .L61,r8
|
mov.l .L61,r8
|
jsr @r8
|
jsr @r8
|
nop
|
nop
|
mov r15,r1
|
mov r15,r1
|
mov.l .L64,r8
|
mov.l .L64,r8
|
jsr @r8
|
jsr @r8
|
nop
|
nop
|
mov r15,r1
|
mov r15,r1
|
mov #0,r4
|
mov #0,r4
|
mov #6,r5
|
mov #6,r5
|
mov.l .L61,r8
|
mov.l .L61,r8
|
jsr @r8
|
jsr @r8
|
nop
|
nop
|
.L52:
|
.L52:
|
add #4,r14
|
add #4,r14
|
mov r14,r15
|
mov r14,r15
|
lds.l @r15+,pr
|
lds.l @r15+,pr
|
mov.l @r15+,r14
|
mov.l @r15+,r14
|
mov.l @r15+,r8
|
mov.l @r15+,r8
|
rts
|
rts
|
nop
|
nop
|
.align 1
|
.align 1
|
.L63:
|
.L63:
|
.short 4999
|
.short 4999
|
.L65:
|
.L65:
|
.align 2
|
.align 2
|
.L61:
|
.L61:
|
.long _lcdwr
|
.long _lcdwr
|
.L62:
|
.L62:
|
.long 204999
|
.long 204999
|
.L64:
|
.L64:
|
.long _lcdready
|
.long _lcdready
|
.Lfe5:
|
.Lfe5:
|
.size _lcdinit,.Lfe5-_lcdinit
|
.size _lcdinit,.Lfe5-_lcdinit
|
.ident "GCC: (GNU) 2.95.3 20010315 (release)"
|
.ident "GCC: (GNU) 2.95.3 20010315 (release)"
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.