FreeBSD System Calls in Assembly
cpghost at cordula.ws
Tue Aug 1 01:00:55 UTC 2017
On 07/31/17 21:59, Makketron wrote:
> It seems that the documentation here doesn't apply for 64-bits.
> I asked a question on stackoverflow. I thought I should ask it here too
> I am running FreeBSD 11.0.
> The following from the FreeBSD manual does NOT print the "Hello, World!"
Basically, in i386, you pass function values on the stack,
and on amd64 via registers.
The amd64 ABI calling convention, shared by common Unices:
Just remember that the list of syscalls and therefore the
syscall ID differs across the various Unix variants...
> Thank you.
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions