Date: Sun, 04 Jun 2000 00:35:05 -0500 From: "G. Adam Stanislav" <adam@whizkidtech.net> To: "Thomas M. Sommers" <tms2@mail.ptd.net>, freebsd-hackers@FreeBSD.ORG Subject: Re: Assembly programming under FreeBSD Message-ID: <3.0.6.32.20000604003505.008bfb10@mail85.pair.com> In-Reply-To: <3939A7E9.F948018@mail.ptd.net> References: <200006031520.LAA06255@rac4.wam.umd.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
At 20:50 03-06-2000 -0400, Thomas M. Sommers wrote: >It isn't the same as Linux's. Linux passes arguments to syscalls in >registers, while FreeBSD puts them on the stack. It is often possible to write asm code that works on both: You put the values in the registers and then you push the registers. Cheers, Adam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.6.32.20000604003505.008bfb10>