<div class="gmail_quote">On 9 March 2012 22:39, Manfred Nowak <span dir="ltr"><<a href="mailto:svv1999@hotmail.com">svv1999@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">Manu wrote:<br>
<br>
<br>
> By contrast, multiple return values are quite the opposite. They<br>
> are explicitly NON-STRUCTURED.<br>
<br>
</div>> The presumption in this case is that multiple resturn<br>
> values would follow the exact same set of rules as passing<br>
<div class="im">> multiple args TO a function, but in reverse.<br>
<br>
</div>this seams to state a contradiction, because one cannot use the<br>
"multiple return values" as actual parameters for any call of a<br>
function.<br>
<br>
Furthermore it is not defined how the formal parameters of a function<br>
are to be declared, if they are assumed to receive "multiple return<br>
values" as actual arguments. If those actual parameters are indeed NON-<br>
STRUCTURED how can one define them or even mix them with STRUCTURED<br>
actual parameters?<br></blockquote><div><br></div><div>I'm just talking about the ABI for returning multiple values, not chaining a multiple return into a secondary call (I think this is what you are saying?).</div><div>
A multiple return should use precisely the same register/stack assignment as when passing args in to a function. Just that the process is in reverse.</div></div>