I think the original posting was pointing out that you lose only
a single byte of addressability by adding 4095, and that you save
one instruction. The added byte is rarely an issue; whether or not
the extra instruction is important depends on the application.
John Ehrman
    (------------------ Referenced Note Follows --------------------)
Sent: Wednesday, August 18, 2010 3:51 PM

I have always used something like this:

QMGREX01 CSECT ,
         STM   R14,R12,12(R13)
         LR    R11,R15
         USING QMGREX01,R11,R12
         LA    R12,4095(R11)
         LA    R12,1(R12)   <----------------- noticed that I added 1 to
the 4095 bump.
         LR    R8,R1
         USING WORKAREA,R13

Is this not the way to do it?

Reply via email to