On 2/16/2014 2:10 AM, Binyamin Dissen wrote:
Say I have two words,

              CURRENT   DS     F
              SUM      DS   F

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

                   L     Rx,CURRENT
                   A     Rx,SUM
                   ST    Rx,SUM


or

                   L     Rx,CURRENT
                   LTR   Rx,Rx
                    JZ    SKIP
                    A     Rx,SUM
                    ST    Rx,SUM
        SKIP    DS    0H


How about:
                    L     Rx,CURRENT
                    LAA   R0,Rx,SUM

if you have z196 or later machine

-Steve Comstock


--
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


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to