Hi -hackers,

I'm developing some assembly routines that are called from a C library
under FreeBSD.  Some of these routines do not return anything (ie,
prototyped in C, their return type is 'void').  Does the compiler
expect that the asm routines that don't return anything will preserve
the value of %eax?  That is, must we push it and later pop it before
returning from the routine, or are we free to modify it as we please
without restoring its value to what it was when the routine was
called?

Thanks.

-- 
farooq <[EMAIL PROTECTED]>

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to