It is the typical way to do it. However, long ago, someone pointed out
that this sequence burns 4 bytes to add 1 byte of addressability.
Which, to Mr Spock, makes no sense.
Furthermore, it is incorrect to put a USING statement before it is valid
(although it is fairly common). It should be moved after your commented
line. The USING for R13 is also obviously premature.
sas
Ward, Mike S wrote:
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?