Mercurial > mplayer.hg
annotate loader/stubs.s @ 3862:74622f23bce5
initial commit of "Guide To Codec Hacking"
author | melanson |
---|---|
date | Fri, 28 Dec 2001 22:48:25 +0000 |
parents | b36fb1ae4b53 |
children | a306c3258e4d |
rev | line source |
---|---|
1038
b36fb1ae4b53
applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents:
713
diff
changeset
|
1 .data |
b36fb1ae4b53
applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents:
713
diff
changeset
|
2 .LC0: .string "Called unk_%s\n" |
1 | 3 .align 4 |
4 .globl unk_exp1 | |
5 unk_exp1: | |
6 pushl %ebp | |
7 movl %esp,%ebp | |
8 subl $4,%esp | |
9 movl $1,-4(%ebp) | |
10 movl -4(%ebp),%eax | |
11 movl %eax,%ecx | |
12 movl %ecx,%edx | |
13 sall $4,%edx | |
14 subl %eax,%edx | |
15 leal 0(,%edx,2),%eax | |
16 movl %eax,%edx | |
17 addl $export_names,%edx | |
18 pushl %edx | |
19 pushl $.LC0 | |
20 call printf | |
21 addl $8,%esp | |
22 xorl %eax,%eax | |
23 leave | |
24 ret |