> >     For instance, calling BZ2_bzBuffToBuffCompress() would
> require you
> >     to reserve the standard 96 bytes, plus 8 more since it has 7
> >     parameters.  So:
> >
> >         L        R15,Stkptr             Get address of stack
> >         AL       R15,=F'4096'           Point to end of stack
> >         SL       R15,=F'104'            Reserve first frame
>
> These last two  seem equivalent to
>                         LA                 4096-104(,R15)
> and faster (no storage reference) and 12 bytes shorter.
>
> Okay, I'll stop here;-)
>
Except that it was only an example to illustrate usage.  The 4096 was the
stack size and might need to be enlarged based on compression routines used.

Leland

Reply via email to