Re: Assembler exercise - MAX of two or more equates

2015-06-30 Thread Ray Mullins
Arrgh, not enough coffee. Change "macros" to "techniques". On 06/30/2015 08:07, M. Ray Mullins wrote: Catching up on ASSEMBLER-LIST… Where are those macros? I did come across a need for a MAX-style function which I solved using other means, but I love learning new techniques. Thanks, Ray O

Re: Assembler exercise - MAX of two or more equates

2015-06-30 Thread M. Ray Mullins
Catching up on ASSEMBLER-LIST… Where are those macros? I did come across a need for a MAX-style function which I solved using other means, but I love learning new techniques. Thanks, Ray On 06/22/2015 07:26, Ed Jaffe wrote: On 6/17/2015 2:55 PM, David Cole wrote: Excellent! Just stuff that

Re: Fw: Rounding to a 2G-byte boundary

2015-06-30 Thread Mark Boonie
Oops, my tea hasn't taken effect yet so I wasn't thinking clearly. The RISBGZ handles the RNDDOWN but not the RNDUP. - mb > Actually I may end up defining a new macro after all. I can use the RISBG > instruction instead: > > RISBGZ ®,®,0,63-&power > > This avoids all of the extra instructi

Re: Fw: Rounding to a 2G-byte boundary

2015-06-30 Thread Mark Boonie
Actually I may end up defining a new macro after all. I can use the RISBG instruction instead: RISBGZ ®,®,0,63-&power This avoids all of the extra instructions and also avoids using a second register. - mb Mark Boonie z/TPF Development 845-433-4918 (t/l 293-4918) From: Steve Smith To