Daniel Otte <[email protected]> wrote: > I've to know some more "exotic" things like how variable arguments > (you k= now the =2E.. thing) are passed how (large) structs are > returned.
There's no more available than what you have found there. (Documentation) patches are welcome! Arguments are normally passed in registers, down to r8. Excess arguments that don't fit into that many registers are passed on the stack. Variable arguments are always passed on the stack. structs are returned by reference, where the caller allocates the space, and passes the address down to the callee (IIRC this address is passed as the first argument to the callee). -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-chat mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-chat
