Kernel Calling Conventions
- From: "Kroll" <spamtrap@xxxxxxxxxx>
- Date: 19 Mar 2006 13:14:04 -0800
Greetings all,
I was reading the "FreeBSD Assembly Language Programming" tutorial
(http://www.int80h.org/bsdasm/), when I came across something that
piqued my curiosity.
The C calling convention is touted as being more convenient, and
superior to the calling convention used by linux and microsoft of
passing arguments within registers. I was wondering if this is just a
bias on the part of the writer or what.
What are the actual advantages of popping the arguments onto to the
stack as opposed to passing them via registers?
Thanks in advance, :)
Kyle
.
- Follow-Ups:
- Re: Kernel Calling Conventions
- From: spamtrap
- Re: Kernel Calling Conventions
- From: Robert Redelmeier
- Kernel Calling Conventions
- From: johnzulu
- Re: Kernel Calling Conventions
- From: Rod Pemberton
- Re: Kernel Calling Conventions
- Prev by Date: Re: FS and GS
- Next by Date: ld dynamic linker x86-64 ?!
- Previous by thread: HLA v1.81 is now available
- Next by thread: Re: Kernel Calling Conventions
- Index(es):
Relevant Pages
|