URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Subversion Repositories eco32
[/] [eco32/] [trunk/] [lcc/] [x86/] [linux/] [tst/] [incr.sbk] - Rev 97
Go to most recent revision | Compare with Previous | Blame | View Log
.globl main
.text
.align 16
.type main,@function
main:
pushl %ebp
pushl %ebx
pushl %esi
pushl %edi
movl %esp,%ebp
mov $0,%eax
.LC1:
movl %ebp,%esp
popl %edi
popl %esi
popl %ebx
popl %ebp
ret
.Lf2:
.size main,.Lf2-main
.globl memchar
.align 16
.type memchar,@function
memchar:
pushl %ebp
pushl %ebx
pushl %esi
pushl %edi
movl %esp,%ebp
subl $8,%esp
movl -8(%ebp),%edi
leal 1(%edi),%esi
movl %esi,-8(%ebp)
movb (,%edi),%bl
movb %bl,-4(%ebp)
movl -8(%ebp),%edi
leal 1(%edi),%edi
movl %edi,-8(%ebp)
movb (,%edi),%bl
movb %bl,-4(%ebp)
movl -8(%ebp),%edi
leal -1(%edi),%esi
movl %esi,-8(%ebp)
movb (,%edi),%bl
movb %bl,-4(%ebp)
movl -8(%ebp),%edi
leal -1(%edi),%edi
movl %edi,-8(%ebp)
movb (,%edi),%bl
movb %bl,-4(%ebp)
mov $0,%eax
.LC3:
movl %ebp,%esp
popl %edi
popl %esi
popl %ebx
popl %ebp
ret
.Lf4:
.size memchar,.Lf4-memchar
.globl memint
.align 16
.type memint,@function
memint:
pushl %ebp
pushl %ebx
pushl %esi
pushl %edi
movl %esp,%ebp
subl $8,%esp
movl -8(%ebp),%edi
leal 4(%edi),%esi
movl %esi,-8(%ebp)
movl (,%edi),%edi
movl %edi,-4(%ebp)
movl -8(%ebp),%edi
leal 4(%edi),%edi
movl %edi,-8(%ebp)
movl (,%edi),%edi
movl %edi,-4(%ebp)
movl -8(%ebp),%edi
leal -4(%edi),%esi
movl %esi,-8(%ebp)
movl (,%edi),%edi
movl %edi,-4(%ebp)
movl -8(%ebp),%edi
leal -4(%edi),%edi
movl %edi,-8(%ebp)
movl (,%edi),%edi
movl %edi,-4(%ebp)
mov $0,%eax
.LC5:
movl %ebp,%esp
popl %edi
popl %esi
popl %ebx
popl %ebp
ret
.Lf6:
.size memint,.Lf6-memint
.globl regchar
.align 16
.type regchar,@function
regchar:
pushl %ebp
pushl %ebx
pushl %esi
pushl %edi
movl %esp,%ebp
subl $8,%esp
movl -8(%ebp),%edi
leal 1(%edi),%esi
movl %esi,-8(%ebp)
movb (,%edi),%bl
movb %bl,-4(%ebp)
movl -8(%ebp),%edi
leal 1(%edi),%edi
movl %edi,-8(%ebp)
movb (,%edi),%bl
movb %bl,-4(%ebp)
movl -8(%ebp),%edi
leal -1(%edi),%esi
movl %esi,-8(%ebp)
movb (,%edi),%bl
movb %bl,-4(%ebp)
movl -8(%ebp),%edi
leal -1(%edi),%edi
movl %edi,-8(%ebp)
movb (,%edi),%bl
movb %bl,-4(%ebp)
mov $0,%eax
.LC7:
movl %ebp,%esp
popl %edi
popl %esi
popl %ebx
popl %ebp
ret
.Lf8:
.size regchar,.Lf8-regchar
.globl regint
.align 16
.type regint,@function
regint:
pushl %ebp
pushl %ebx
pushl %esi
pushl %edi
movl %esp,%ebp
subl $8,%esp
movl -8(%ebp),%edi
leal 4(%edi),%esi
movl %esi,-8(%ebp)
movl (,%edi),%edi
movl %edi,-4(%ebp)
movl -8(%ebp),%edi
leal 4(%edi),%edi
movl %edi,-8(%ebp)
movl (,%edi),%edi
movl %edi,-4(%ebp)
movl -8(%ebp),%edi
leal -4(%edi),%esi
movl %esi,-8(%ebp)
movl (,%edi),%edi
movl %edi,-4(%ebp)
movl -8(%ebp),%edi
leal -4(%edi),%edi
movl %edi,-8(%ebp)
movl (,%edi),%edi
movl %edi,-4(%ebp)
mov $0,%eax
.LC9:
movl %ebp,%esp
popl %edi
popl %esi
popl %ebx
popl %ebp
ret
.Lf10:
.size regint,.Lf10-regint
.ident "LCC: 4.1"
Go to most recent revision | Compare with Previous | Blame | View Log