> placing the retun value in eax is the default behaviour
I see no eaxCode:double foo ( void ) { return 123.456; } pushl %ebp movl %esp, %ebp fldl LC0 popl %ebp ret
But I recall the original question was about getting past the "function returns no value" warning from the compiler.