[ProgClub list] Memory management in C
Asher Glynn
asher.glynn at gmail.com
Sun Oct 2 05:42:26 AEDT 2011
> Which I don't entirely understand. It seems to be saying that the first
> four parameters are passed in particular registers (depending on their size
> and type). Does this mean 'always'? Do all compilers have to know about this
> and generate code accordingly?
>
They'll have to know about it if they want to be compatible with each other.
One of the exercises (before I dropped it) in Operating Systems at UNSW was
rewriting an RPC mechanism in a microkernel to pass on register rather than
in main memory.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.progclub.org/pipermail/list/attachments/20111001/d8336578/attachment.html>
More information about the list
mailing list