[ProgClub list] Memory management in C
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...
More information about the list