Obviously if the loop was that tiny that would be a solution. But the loop is larger and cannot spare a register.
On Tue, 18 Feb 2014 07:18:06 -0600 Mike Schwab <[email protected]> wrote: :>Then optimize with :>L Rx,SUM or XR Rx,Rx :>loop :> A Rx,CURRENT :>endloop :>ST Rx,SUM. :> :>On Tue, Feb 18, 2014 at 2:31 AM, Binyamin Dissen :><[email protected]> wrote: :>> On Mon, 17 Feb 2014 01:46:43 -0600 Elardus Engelbrecht :>> <[email protected]> wrote: :>> :>> :>Binyamin Dissen wrote: :>> :>> :>>I want to add CURRENT to SUM, but most of the time CURRENT will be zero. :>> :>>CURRENT and SUM are not adjacent (different data lines) :>> :>> :>>Which is best :>> :>> :>After seeing all the good replies, I'm wondering about one thing. Is your loading, adding and storing statements in a loop or not? :>> :>> Yes, it is a loop with multiple instances of "CURRENT". :>> :>> -- :>> Binyamin Dissen <[email protected]> :>> http://www.dissensoftware.com :>> :>> Director, Dissen Software, Bar & Grill - Israel :>> :>> :>> Should you use the mailblocks package and expect a response from me, :>> you should preauthorize the dissensoftware.com domain. :>> :>> I very rarely bother responding to challenge/response systems, :>> especially those from irresponsible companies. :>> :>> ---------------------------------------------------------------------- :>> For IBM-MAIN subscribe / signoff / archive access instructions, :>> send email to [email protected] with the message: INFO IBM-MAIN -- Binyamin Dissen <[email protected]> http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel Should you use the mailblocks package and expect a response from me, you should preauthorize the dissensoftware.com domain. I very rarely bother responding to challenge/response systems, especially those from irresponsible companies. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
