Date: Sat, 03 Jun 2000 20:50:49 -0400 From: "Thomas M. Sommers" <tms2@mail.ptd.net> To: freebsd-hackers@freebsd.org Subject: Re: Assembly programming under FreeBSD Message-ID: <3939A7E9.F948018@mail.ptd.net> References: <200006031520.LAA06255@rac4.wam.umd.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
James Howard wrote: > > Having just read Konstantin Boldyshev's introduction to FreeBSD assembly > programming, I have a couple of questions. > > When I looked through some code in the source tree (and with a little > background from the article), I noticed that INT 80 interface appears to > be newer than an older interface, "CALL 7:0". When we was this change > made and why? Why was INT 80 chosen? Since this is the same as Linux's > interface, does this simplfy Linux emulation? Hinder it? It isn't the same as Linux's. Linux passes arguments to syscalls in registers, while FreeBSD puts them on the stack. 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?3939A7E9.F948018>