view loader/stubs.s @ 1320:18374d49befa

On big-endian architectures, all audio decoders default to big-endian 16-bit audio sample format. Add support to play both big- and little-endian 16-bit audio format to the sun audio_out driver.
author jkeil
date Sat, 14 Jul 2001 16:58:55 +0000
parents b36fb1ae4b53
children a306c3258e4d
line wrap: on
line source

	.data
.LC0:	.string	"Called unk_%s\n"
	.align 4
.globl unk_exp1
unk_exp1:
	pushl %ebp
	movl %esp,%ebp
	subl $4,%esp
	movl $1,-4(%ebp)
	movl -4(%ebp),%eax
	movl %eax,%ecx
	movl %ecx,%edx
	sall $4,%edx
	subl %eax,%edx
	leal 0(,%edx,2),%eax
	movl %eax,%edx
	addl $export_names,%edx
	pushl %edx
	pushl $.LC0
	call printf
	addl $8,%esp
	xorl %eax,%eax
	leave
	ret