OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

[/] [eco32/] [tags/] [eco32-0.23/] [lcc/] [x86/] [linux/] [tst/] [init.sbk] - Diff between revs 4 and 157

Only display areas with differences | Details | Blame | View Log

Rev 4 Rev 157
.data
.data
.globl words
.globl words
.align 4
.align 4
.type words,@object
.type words,@object
words:
words:
.long 1
.long 1
.long 2
.long 2
.long 3
.long 3
.byte 105
.byte 105
.byte 102
.byte 102
.byte 0
.byte 0
.space 3
.space 3
.space 2
.space 2
.long 4
.long 4
.long 5
.long 5
.space 4
.space 4
.byte 102
.byte 102
.byte 111
.byte 111
.byte 114
.byte 114
.space 3
.space 3
.space 2
.space 2
.long 6
.long 6
.long 7
.long 7
.long 8
.long 8
.byte 101
.byte 101
.byte 108
.byte 108
.byte 115
.byte 115
.byte 101
.byte 101
.byte 0
.byte 0
.space 1
.space 1
.space 2
.space 2
.long 9
.long 9
.long 10
.long 10
.long 11
.long 11
.byte 119
.byte 119
.byte 104
.byte 104
.byte 105
.byte 105
.byte 108
.byte 108
.byte 101
.byte 101
.space 1
.space 1
.space 2
.space 2
.long 0
.long 0
.space 8
.space 8
.space 8
.space 8
.size words,100
.size words,100
.globl wordlist
.globl wordlist
.align 4
.align 4
.type wordlist,@object
.type wordlist,@object
.size wordlist,4
.size wordlist,4
wordlist:
wordlist:
.long words
.long words
.globl x
.globl x
.align 4
.align 4
.type x,@object
.type x,@object
x:
x:
.long 1
.long 1
.long 2
.long 2
.long 3
.long 3
.long 4
.long 4
.long 0
.long 0
.long 5
.long 5
.long 6
.long 6
.space 12
.space 12
.long 7
.long 7
.space 16
.space 16
.size x,60
.size x,60
.globl y
.globl y
.align 4
.align 4
.type y,@object
.type y,@object
y:
y:
.long x
.long x
.long x+20
.long x+20
.long x+40
.long x+40
.long 0
.long 0
.size y,16
.size y,16
.globl main
.globl main
.text
.text
.align 16
.align 16
.type main,@function
.type main,@function
main:
main:
pushl %ebp
pushl %ebp
pushl %ebx
pushl %ebx
pushl %esi
pushl %esi
pushl %edi
pushl %edi
movl %esp,%ebp
movl %esp,%ebp
subl $8,%esp
subl $8,%esp
movl $0,-8(%ebp)
movl $0,-8(%ebp)
jmp .LC8
jmp .LC8
.LC5:
.LC5:
movl $0,-4(%ebp)
movl $0,-4(%ebp)
jmp .LC12
jmp .LC12
.LC9:
.LC9:
movl -4(%ebp),%edi
movl -4(%ebp),%edi
movl -8(%ebp),%esi
movl -8(%ebp),%esi
movl y(,%esi,4),%esi
movl y(,%esi,4),%esi
pushl (%esi,%edi,4)
pushl (%esi,%edi,4)
pushl $.LC13
pushl $.LC13
call printf
call printf
addl $8,%esp
addl $8,%esp
.LC10:
.LC10:
incl -4(%ebp)
incl -4(%ebp)
.LC12:
.LC12:
movl -4(%ebp),%edi
movl -4(%ebp),%edi
movl -8(%ebp),%esi
movl -8(%ebp),%esi
movl y(,%esi,4),%esi
movl y(,%esi,4),%esi
cmpl $0,(%esi,%edi,4)
cmpl $0,(%esi,%edi,4)
jne .LC9
jne .LC9
pushl $.LC14
pushl $.LC14
call printf
call printf
addl $4,%esp
addl $4,%esp
.LC6:
.LC6:
incl -8(%ebp)
incl -8(%ebp)
.LC8:
.LC8:
movl -8(%ebp),%edi
movl -8(%ebp),%edi
movl y(,%edi,4),%edi
movl y(,%edi,4),%edi
cmpl $0,%edi
cmpl $0,%edi
jne .LC5
jne .LC5
call f
call f
pushl wordlist
pushl wordlist
call g
call g
addl $4,%esp
addl $4,%esp
mov $0,%eax
mov $0,%eax
.LC4:
.LC4:
movl %ebp,%esp
movl %ebp,%esp
popl %edi
popl %edi
popl %esi
popl %esi
popl %ebx
popl %ebx
popl %ebp
popl %ebp
ret
ret
.Lf15:
.Lf15:
.size main,.Lf15-main
.size main,.Lf15-main
.data
.data
.align 4
.align 4
.type keywords.17,@object
.type keywords.17,@object
keywords.17:
keywords.17:
.long .LC18
.long .LC18
.long .LC19
.long .LC19
.long .LC20
.long .LC20
.long .LC21
.long .LC21
.long 0
.long 0
.size keywords.17,20
.size keywords.17,20
.globl f
.globl f
.text
.text
.align 16
.align 16
.type f,@function
.type f,@function
f:
f:
pushl %ebp
pushl %ebp
pushl %ebx
pushl %ebx
pushl %esi
pushl %esi
pushl %edi
pushl %edi
movl %esp,%ebp
movl %esp,%ebp
subl $4,%esp
subl $4,%esp
leal keywords.17,%edi
leal keywords.17,%edi
movl %edi,-4(%ebp)
movl %edi,-4(%ebp)
jmp .LC25
jmp .LC25
.LC22:
.LC22:
movl -4(%ebp),%edi
movl -4(%ebp),%edi
pushl (,%edi)
pushl (,%edi)
pushl $.LC26
pushl $.LC26
call printf
call printf
addl $8,%esp
addl $8,%esp
.LC23:
.LC23:
movl -4(%ebp),%edi
movl -4(%ebp),%edi
leal 4(%edi),%edi
leal 4(%edi),%edi
movl %edi,-4(%ebp)
movl %edi,-4(%ebp)
.LC25:
.LC25:
movl -4(%ebp),%edi
movl -4(%ebp),%edi
movl (,%edi),%edi
movl (,%edi),%edi
cmpl $0,%edi
cmpl $0,%edi
jne .LC22
jne .LC22
mov $0,%eax
mov $0,%eax
.LC16:
.LC16:
movl %ebp,%esp
movl %ebp,%esp
popl %edi
popl %edi
popl %esi
popl %esi
popl %ebx
popl %ebx
popl %ebp
popl %ebp
ret
ret
.Lf27:
.Lf27:
.size f,.Lf27-f
.size f,.Lf27-f
.globl g
.globl g
.align 16
.align 16
.type g,@function
.type g,@function
g:
g:
pushl %ebp
pushl %ebp
pushl %ebx
pushl %ebx
pushl %esi
pushl %esi
pushl %edi
pushl %edi
movl %esp,%ebp
movl %esp,%ebp
subl $4,%esp
subl $4,%esp
jmp .LC32
jmp .LC32
.LC29:
.LC29:
movl $0,-4(%ebp)
movl $0,-4(%ebp)
jmp .LC36
jmp .LC36
.LC33:
.LC33:
movl -4(%ebp),%edi
movl -4(%ebp),%edi
movl 20(%ebp),%esi
movl 20(%ebp),%esi
pushl (%esi,%edi,4)
pushl (%esi,%edi,4)
pushl $.LC37
pushl $.LC37
call printf
call printf
addl $8,%esp
addl $8,%esp
.LC34:
.LC34:
incl -4(%ebp)
incl -4(%ebp)
.LC36:
.LC36:
movl -4(%ebp),%edi
movl -4(%ebp),%edi
cmpl $3,%edi
cmpl $3,%edi
jb .LC33
jb .LC33
movl 20(%ebp),%edi
movl 20(%ebp),%edi
leal 12(%edi),%edi
leal 12(%edi),%edi
pushl %edi
pushl %edi
pushl $.LC26
pushl $.LC26
call printf
call printf
addl $8,%esp
addl $8,%esp
.LC30:
.LC30:
movl 20(%ebp),%edi
movl 20(%ebp),%edi
leal 20(%edi),%edi
leal 20(%edi),%edi
movl %edi,20(%ebp)
movl %edi,20(%ebp)
.LC32:
.LC32:
movl 20(%ebp),%edi
movl 20(%ebp),%edi
cmpl $0,(,%edi)
cmpl $0,(,%edi)
jne .LC29
jne .LC29
call h
call h
mov $0,%eax
mov $0,%eax
.LC28:
.LC28:
movl %ebp,%esp
movl %ebp,%esp
popl %edi
popl %edi
popl %esi
popl %esi
popl %ebx
popl %ebx
popl %ebp
popl %ebp
ret
ret
.Lf38:
.Lf38:
.size g,.Lf38-g
.size g,.Lf38-g
.globl h
.globl h
.align 16
.align 16
.type h,@function
.type h,@function
h:
h:
pushl %ebp
pushl %ebp
pushl %ebx
pushl %ebx
pushl %esi
pushl %esi
pushl %edi
pushl %edi
movl %esp,%ebp
movl %esp,%ebp
subl $4,%esp
subl $4,%esp
movl $0,-4(%ebp)
movl $0,-4(%ebp)
jmp .LC43
jmp .LC43
.LC40:
.LC40:
imul $20,-4(%ebp),%edi
imul $20,-4(%ebp),%edi
leal words+12(%edi),%esi
leal words+12(%edi),%esi
pushl %esi
pushl %esi
pushl words+8(%edi)
pushl words+8(%edi)
pushl words+4(%edi)
pushl words+4(%edi)
pushl words(%edi)
pushl words(%edi)
pushl $.LC44
pushl $.LC44
call printf
call printf
addl $20,%esp
addl $20,%esp
.LC41:
.LC41:
incl -4(%ebp)
incl -4(%ebp)
.LC43:
.LC43:
movl -4(%ebp),%edi
movl -4(%ebp),%edi
cmpl $5,%edi
cmpl $5,%edi
jb .LC40
jb .LC40
mov $0,%eax
mov $0,%eax
.LC39:
.LC39:
movl %ebp,%esp
movl %ebp,%esp
popl %edi
popl %edi
popl %esi
popl %esi
popl %ebx
popl %ebx
popl %ebp
popl %ebp
ret
ret
.Lf48:
.Lf48:
.size h,.Lf48-h
.size h,.Lf48-h
.data
.data
.align 1
.align 1
.LC44:
.LC44:
.byte 37
.byte 37
.byte 100
.byte 100
.byte 32
.byte 32
.byte 37
.byte 37
.byte 100
.byte 100
.byte 32
.byte 32
.byte 37
.byte 37
.byte 100
.byte 100
.byte 32
.byte 32
.byte 37
.byte 37
.byte 115
.byte 115
.byte 10
.byte 10
.byte 0
.byte 0
.align 1
.align 1
.LC37:
.LC37:
.byte 37
.byte 37
.byte 100
.byte 100
.byte 32
.byte 32
.byte 0
.byte 0
.align 1
.align 1
.LC26:
.LC26:
.byte 37
.byte 37
.byte 115
.byte 115
.byte 10
.byte 10
.byte 0
.byte 0
.align 1
.align 1
.LC21:
.LC21:
.byte 119
.byte 119
.byte 104
.byte 104
.byte 105
.byte 105
.byte 108
.byte 108
.byte 101
.byte 101
.byte 0
.byte 0
.align 1
.align 1
.LC20:
.LC20:
.byte 101
.byte 101
.byte 108
.byte 108
.byte 115
.byte 115
.byte 101
.byte 101
.byte 0
.byte 0
.align 1
.align 1
.LC19:
.LC19:
.byte 102
.byte 102
.byte 111
.byte 111
.byte 114
.byte 114
.byte 0
.byte 0
.align 1
.align 1
.LC18:
.LC18:
.byte 105
.byte 105
.byte 102
.byte 102
.byte 0
.byte 0
.align 1
.align 1
.LC14:
.LC14:
.byte 10
.byte 10
.byte 0
.byte 0
.align 1
.align 1
.LC13:
.LC13:
.byte 32
.byte 32
.byte 37
.byte 37
.byte 100
.byte 100
.byte 0
.byte 0
.text
.text
.ident "LCC: 4.1"
.ident "LCC: 4.1"
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.