On Fri, 14 Nov 2003 08:12:26 +0100, Leopold Toetsch <[EMAIL PROTECTED]> wrote:
>> _u_fred: >> I5=P3[1] >> S5=P3[2] >> _fred: > >There is no P3[] involved. "_fred" just starts with whatever is in >registers I5/S5. Yes, "_fred" wades straight in, expecting everything to be set up. It is _u_fred which is sucking them out of P3, and falling through. If the function is always called prototyped, _u_fred won't be referenced and imcc will strip that code (according to the Pirate document, iirc). If it is called non prototyped from several places, it makes a smaller footprint. > >Please read my proposal WRT default params posted elsewhere in this thread. >The default value could be the result of an arbitrary expression, so its >not that simple. On re-reading your post it seems I was trying to say the same thing. Pete