Vladimir Lipskiy <[EMAIL PROTECTED]> wrote:
> Q1: Suppose I have the following call into a sub named "foo":

First of all, are you targeting PASM or PIR? For the latter, its done
automatically.

> foo($var1, $var2, $var3);
> foo($var1, @arr2, %hash3);

> Is it still 3, since these aren't gonna be flattened?

Both have 3 params. If these are PMCs, they go in P5..P7, so *I2* would
be 3.

> Q2: I'm calling without prototyping

> foo($var1, $var2, $var3, ... , $var23);

> Here, what should I place in I2?  Is it 11 (as we have P5-P15) or
> 23 (considering the P3 register)?

I would expect I2=11, I1=12

leo

Reply via email to