On Fri, Apr 04, 2003 at 06:51:43PM -0600, Lucius, Leland wrote: | > > 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.
Still, you can combine the AL and SL to a single AL with pre-computed difference. Then switch to LA when it's less than 4096. -- ----------------------------------------------------------------- | Phil Howard - KA9WGN | Dallas | http://linuxhomepage.com/ | | [EMAIL PROTECTED] | Texas, USA | http://ka9wgn.ham.org/ | -----------------------------------------------------------------
